GNU bug report logs - #13294
24.2; mairix.el has bad autoload information for rmail

Previous Next

Package: emacs;

Reported by: mdl <at> alum.mit.edu

Date: Fri, 28 Dec 2012 19:17:02 UTC

Severity: minor

Found in version 24.2

Fixed in version 24.2.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13294 in the body.
You can then email your comments to 13294 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13294; Package emacs. (Fri, 28 Dec 2012 19:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to mdl <at> alum.mit.edu:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 28 Dec 2012 19:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark Lillibridge <mdl <at> alum.mit.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; mairix.el has bad autoload information for rmail
Date: Fri, 28 Dec 2012 10:55:58 -0800
If I start Emacs 24.2 with "emacs -q" then do a C-h f rmail, I get:

    rmail is an interactive autoloaded Lisp function in `rmail.el'.
    
    (rmail &optional FILE-NAME-ARG)
    
    Read and edit incoming mail.
    Moves messages into file named by `rmail-file-name' and edits that
    file in RMAIL Mode.
    Type C-h m once editing that file, for a list of RMAIL commands.
    
    May be called with file name as argument; then performs rmail editing on
    that file, but does not copy any new mail into the file.
    Interactively, if you supply a prefix argument, then you
    have a chance to specify a file name with the minibuffer.
    
    If `rmail-display-summary' is non-nil, make a summary for this RMAIL file.

Moreover, I can do M-x rmail and it works fine.


However, if I do a M-: (require 'mairix) first, then I get from help:

    rmail is an autoloaded Lisp function in `rmail.el'.
    
    [Arg list not available until function definition is loaded.]
    
    Not documented.
    
    [back]

and M-x rmail no longer works (tries to complete to rmail- when I hit enter).


I'm pretty sure this is caused by bad autoload information in mairix.el:228:

    (autoload 'rmail "rmail")
    (autoload 'rmail-summary-displayed "rmail")
    (autoload 'rmail-summary "rmailsum")

At least the first of these is already done elsewhere and so shouldn't
be needed.  I don't know about the others.

- Mark




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13294; Package emacs. (Fri, 28 Dec 2012 19:57:03 GMT) Full text and rfc822 format available.

Message #8 received at 13294 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: mdl <at> alum.mit.edu
Cc: 13294 <at> debbugs.gnu.org
Subject: Re: bug#13294: 24.2; mairix.el has bad autoload information for rmail
Date: Fri, 28 Dec 2012 14:56:02 -0500
Mark Lillibridge wrote:

> I'm pretty sure this is caused by bad autoload information in mairix.el:228:
>
>     (autoload 'rmail "rmail")
>     (autoload 'rmail-summary-displayed "rmail")
>     (autoload 'rmail-summary "rmailsum")

The first and last of these are unnecessary and missing the INTERACTIVE
argument (this is the real problem). I will fix this.
You could just require rmail to workaround it.




bug marked as fixed in version 24.2.92, send any further explanations to 13294 <at> debbugs.gnu.org and mdl <at> alum.mit.edu Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 30 Dec 2012 03:31:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 27 Jan 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.