GNU bug report logs - #56491
[PATCH] Don't create file rmail-loaddefs.el

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Mon, 11 Jul 2022 00:30:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Kangas <stefan <at> marxist.se>

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 56491 in the body.
You can then email your comments to 56491 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#56491; Package emacs. (Mon, 11 Jul 2022 00:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 11 Jul 2022 00:30:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Don't create file rmail-loaddefs.el
Date: Sun, 10 Jul 2022 17:28:58 -0700
[Message part 1 (text/plain, inline)]
Severity: wishlist

It seems like the rmail-loaddefs.el file is not really used for
anything?  Maybe we could just remove it, as in the attached.
[0001-Don-t-create-unused-file-rmail-loaddefs.el.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56491; Package emacs. (Mon, 11 Jul 2022 10:00:03 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56491 <at> debbugs.gnu.org
Subject: Re: bug#56491: [PATCH] Don't create file rmail-loaddefs.el
Date: Mon, 11 Jul 2022 11:59:37 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> It seems like the rmail-loaddefs.el file is not really used for
> anything?  Maybe we could just remove it, as in the attached.

The two commands in rmail-loaddefs.el/undigest.el are only used from
rmail buffers, I guess?  But just removing the autoload cookies would be
wrong (because then people can't say `M-x unforward-rmail-message') --
perhaps rmail.el should autoload the two commands.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56491; Package emacs. (Mon, 11 Jul 2022 11:38:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56491 <at> debbugs.gnu.org
Subject: Re: bug#56491: [PATCH] Don't create file rmail-loaddefs.el
Date: Mon, 11 Jul 2022 04:37:38 -0700
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> The two commands in rmail-loaddefs.el/undigest.el are only used from
> rmail buffers, I guess?  But just removing the autoload cookies would be
> wrong (because then people can't say `M-x unforward-rmail-message') --
> perhaps rmail.el should autoload the two commands.

This file is not required from anywhere, so I don't see what changes if
we remove the autoload cookies.  What am I missing?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56491; Package emacs. (Mon, 11 Jul 2022 11:42:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56491 <at> debbugs.gnu.org
Subject: Re: bug#56491: [PATCH] Don't create file rmail-loaddefs.el
Date: Mon, 11 Jul 2022 13:40:52 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> This file is not required from anywhere, so I don't see what changes if
> we remove the autoload cookies.  What am I missing?

Oh, I missed that.  Then I guess this is just a file that was missed
when the rest of the rmail-loaddefs things were removed -- so the
correct fix here is to just remove

;; Local Variables:
;; generated-autoload-file: "rmail-loaddefs.el"
;; End:

but leave the ;;;###autoload cookies as is.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Mon, 11 Jul 2022 12:11:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Kangas <stefan <at> marxist.se>:
bug acknowledged by developer. (Mon, 11 Jul 2022 12:11:02 GMT) Full text and rfc822 format available.

Message #19 received at 56491-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56491-done <at> debbugs.gnu.org
Subject: Re: bug#56491: [PATCH] Don't create file rmail-loaddefs.el
Date: Mon, 11 Jul 2022 05:10:00 -0700
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> the correct fix here is to just remove
>
> ;; Local Variables:
> ;; generated-autoload-file: "rmail-loaddefs.el"
> ;; End:
>
> but leave the ;;;###autoload cookies as is.

OK, makes sense.  Now done on master (commit d9732425a6).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Aug 2022 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 7 days ago.

Previous Next


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