emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#19916: closed (24.4; rmail-summary-next-msg declar


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19916: closed (24.4; rmail-summary-next-msg declares argument incorrectly)
Date: Tue, 24 Feb 2015 07:45:02 +0000

Your message dated Tue, 24 Feb 2015 02:44:26 -0500
with message-id <address@hidden>
and subject line Re: bug#19916: 24.4; rmail-summary-next-msg declares argument 
incorrectly
has caused the debbugs.gnu.org bug report #19916,
regarding 24.4; rmail-summary-next-msg declares argument incorrectly
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19916: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19916
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.4; rmail-summary-next-msg declares argument incorrectly Date: Sat, 21 Feb 2015 19:17:56 +0100

As I am fairly certain that this is a bug in the source code, I am not 
including any of the automatic information on my system which M-x 
report-emacs-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 source
                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 argument.




Best regards,

Florian v. Savigny



--- End Message ---
--- Begin Message --- Subject: Re: bug#19916: 24.4; rmail-summary-next-msg declares argument incorrectly Date: Tue, 24 Feb 2015 02:44:26 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 25.1

Thanks; fixed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]