From: schule@fsavigny.de (Florian v. Savigny)
To: 19916@debbugs.gnu.org
Subject: bug#19916: 24.4; rmail-summary-next-msg declares argument incorrectly
Date: Sat, 21 Feb 2015 19:17:56 +0100 [thread overview]
Message-ID: <851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000> (raw)
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
next reply other threads:[~2015-02-21 18:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-21 18:17 Florian v. Savigny [this message]
2015-02-24 7:44 ` bug#19916: 24.4; rmail-summary-next-msg declares argument incorrectly Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=851tljuo17.fsf@bertrandrussell.Speedport_W_723V_1_36_000 \
--to=schule@fsavigny.de \
--cc=19916@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).