From unknown Tue Aug 19 05:12:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19916: 24.4; rmail-summary-next-msg declares argument incorrectly Resent-From: schule@fsavigny.de (Florian v. Savigny) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Feb 2015 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19916 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 19916@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14245512421055 (code B ref -1); Sat, 21 Feb 2015 20:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2015 20:40:42 +0000 Received: from localhost ([127.0.0.1]:50400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPGqv-0000Gw-82 for submit@debbugs.gnu.org; Sat, 21 Feb 2015 15:40:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59607) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPEd5-0004tp-Jl for submit@debbugs.gnu.org; Sat, 21 Feb 2015 13:18:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPEd0-000530-D8 for submit@debbugs.gnu.org; Sat, 21 Feb 2015 13:18:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAD_ENC_HEADER,BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEd0-00052v-BE for submit@debbugs.gnu.org; Sat, 21 Feb 2015 13:18:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEcv-00085o-BS for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 13:18:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPEcq-00051V-1Q for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 13:18:05 -0500 Received: from srv4.ns-domain-hosting.de ([178.63.89.203]:60710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEcp-000515-Qq for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 13:17:59 -0500 X-No-Relay: not in my network Received: from bertrandrussell.Speedport_W_723V_1_36_000 (p4FECD829.dip0.t-ipconnect.de [79.236.216.41]) by srv4.ns-domain-hosting.de (Postfix) with ESMTPSA id 792CE18641D for ; Sat, 21 Feb 2015 19:17:58 +0100 (CET) Date: Sat, 21 Feb 2015 19:17:56 +0100 Message-Id: <851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000> From: schule@fsavigny.de (Florian v. Savigny) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Sat, 21 Feb 2015 15:40:39 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) As I am fairly certain that this is a bug in the source code, I am not in= cluding any of the automatic information on my system which M-x report-em= acs-bug produces. Description of the bug: rmail-summary-next-msg declares its attribute NUMBER as &optional, but does not treat it like that, at least when called non-interactively. Reproducible: always How: Calling (rmail-summary-next-msg) non-interactively. Undesired behaviour: Throws the following exception: and: Wrong type argument: number-or-marker-p, nil This is an obscure error if you have called (rmail-summary-next-message) in accordance with the documentation. Explanation: This can easily be tracked to the following line in the sour= ce code for the function, where it expects NUMBER to be non-nil: (and (> number 0) (end-of-line)) ;; line 3 after the docstring Line 827 in the source file in the following version of rmailsum.el: ;; Copyright (C) 1985, 1993-1996, 2000-2014 Free Software Foundation, Workaround: Calling (rmail-summary-next-msg 1) instead of using no argume= nt. Best regards, Florian v. Savigny From unknown Tue Aug 19 05:12:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: schule@fsavigny.de (Florian v. Savigny) Subject: bug#19916: closed (Re: bug#19916: 24.4; rmail-summary-next-msg declares argument incorrectly) Message-ID: References: <78385vpxd1.fsf@fencepost.gnu.org> <851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000> X-Gnu-PR-Message: they-closed 19916 X-Gnu-PR-Package: emacs Reply-To: 19916@debbugs.gnu.org Date: Tue, 24 Feb 2015 07:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1424763902-26960-1" This is a multi-part message in MIME format... ------------=_1424763902-26960-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #19916: 24.4; rmail-summary-next-msg declares argument incorrectly which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 19916@debbugs.gnu.org. --=20 19916: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19916 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1424763902-26960-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 19916-done) by debbugs.gnu.org; 24 Feb 2015 07:44:29 +0000 Received: from localhost ([127.0.0.1]:56047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQAAP-000701-2k for submit@debbugs.gnu.org; Tue, 24 Feb 2015 02:44:29 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:33426 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQAAN-0006zt-BQ for 19916-done@debbugs.gnu.org; Tue, 24 Feb 2015 02:44:27 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YQAAM-0003bp-7o; Tue, 24 Feb 2015 02:44:26 -0500 From: Glenn Morris To: 19916-done@debbugs.gnu.org Subject: Re: bug#19916: 24.4; rmail-summary-next-msg declares argument incorrectly References: <851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000> X-Spook: Venezuela weapons of mass destruction PLO mindwar Axis of X-Ran: w^S!V%(c$;Mdr]{DA,wMONo/t&H=&NYso;~/CWPE#3~B)!BFz8b8&;Vy,#]05I X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 24 Feb 2015 02:44:26 -0500 In-Reply-To: <851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000> (Florian v. Savigny's message of "Sat, 21 Feb 2015 19:17:56 +0100") Message-ID: <78385vpxd1.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19916-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 25.1 Thanks; fixed. ------------=_1424763902-26960-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Feb 2015 20:40:42 +0000 Received: from localhost ([127.0.0.1]:50400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPGqv-0000Gw-82 for submit@debbugs.gnu.org; Sat, 21 Feb 2015 15:40:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59607) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPEd5-0004tp-Jl for submit@debbugs.gnu.org; Sat, 21 Feb 2015 13:18:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPEd0-000530-D8 for submit@debbugs.gnu.org; Sat, 21 Feb 2015 13:18:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAD_ENC_HEADER,BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEd0-00052v-BE for submit@debbugs.gnu.org; Sat, 21 Feb 2015 13:18:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEcv-00085o-BS for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 13:18:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPEcq-00051V-1Q for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 13:18:05 -0500 Received: from srv4.ns-domain-hosting.de ([178.63.89.203]:60710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEcp-000515-Qq for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 13:17:59 -0500 X-No-Relay: not in my network Received: from bertrandrussell.Speedport_W_723V_1_36_000 (p4FECD829.dip0.t-ipconnect.de [79.236.216.41]) by srv4.ns-domain-hosting.de (Postfix) with ESMTPSA id 792CE18641D for ; Sat, 21 Feb 2015 19:17:58 +0100 (CET) Date: Sat, 21 Feb 2015 19:17:56 +0100 Message-Id: <851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000> From: schule@fsavigny.de (Florian v. Savigny) To: bug-gnu-emacs@gnu.org Subject: =?iso-8859-1?q?24.4; rmail-summary-next-msg declares argument incorrectly?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 21 Feb 2015 15:40:39 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) As I am fairly certain that this is a bug in the source code, I am not in= cluding any of the automatic information on my system which M-x report-em= acs-bug produces. Description of the bug: rmail-summary-next-msg declares its attribute NUMBER as &optional, but does not treat it like that, at least when called non-interactively. Reproducible: always How: Calling (rmail-summary-next-msg) non-interactively. Undesired behaviour: Throws the following exception: and: Wrong type argument: number-or-marker-p, nil This is an obscure error if you have called (rmail-summary-next-message) in accordance with the documentation. Explanation: This can easily be tracked to the following line in the sour= ce code for the function, where it expects NUMBER to be non-nil: (and (> number 0) (end-of-line)) ;; line 3 after the docstring Line 827 in the source file in the following version of rmailsum.el: ;; Copyright (C) 1985, 1993-1996, 2000-2014 Free Software Foundation, Workaround: Calling (rmail-summary-next-msg 1) instead of using no argume= nt. Best regards, Florian v. Savigny ------------=_1424763902-26960-1--