GNU bug report logs - #46226
Item in .elc but not .el.gz and no note that original value was changed

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 1 Feb 2021 07:20:02 UTC

Severity: minor

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.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 46226 in the body.
You can then email your comments to 46226 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#46226; Package emacs. (Mon, 01 Feb 2021 07:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 01 Feb 2021 07:20:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Item in .elc but not .el.gz and no note that original value was
 changed
Date: Mon, 01 Feb 2021 13:42:28 +0800
C-h v runs the command describe-variable, which says:
--------
   gnus-summary-mode-hook is a variable defined in ‘gnus-sum.el’.
   Its value is (ffap-gnus-hook)

     This variable may be risky if used as a file-local variable.
     Probably introduced at or before Emacs version 19.32.

   Documentation:
   Hook run after entering Summary mode.
   No problems result if this variable is not bound.
   ‘add-hook’ automatically binds it.  (This is true for all hook variables.)
--------
However:
$ dlocate --filename-only gnus-sum | xargs grep -ca gnus-summary-mode-hook
/usr/share/emacs/27.1/lisp/gnus/gnus-sum.elc:4
/usr/share/emacs/27.1/lisp/gnus/gnus-sum.el.gz:0
So it is in the .elc, but not the .el.gz!

Poking further:
---------
   gnus-parameters is a variable defined in ‘gnus.el’.
   Its value is
   (("^nndoc:"...
   Original value was nil
-------------------
No mention of the Original value of gnus-summary-mode-hook either, so
one assumes the Original value was not changed.

Therefore instead of only mentioning the Original value when one is
changed, "Original value not changed." should also appear in opposite
cases, "so no doubt is left."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46226; Package emacs. (Mon, 01 Feb 2021 09:02:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 46226 <at> debbugs.gnu.org
Subject: Re: bug#46226: Item in .elc but not .el.gz and no note that
 original value was changed
Date: Mon, 01 Feb 2021 10:01:42 +0100
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> However:
> $ dlocate --filename-only gnus-sum | xargs grep -ca gnus-summary-mode-hook
> /usr/share/emacs/27.1/lisp/gnus/gnus-sum.elc:4
> /usr/share/emacs/27.1/lisp/gnus/gnus-sum.el.gz:0
> So it is in the .elc, but not the .el.gz!

It's defined by `define-derived-mode'.  Closing.

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 01 Feb 2021 09:02:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 46226 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 01 Feb 2021 09:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46226; Package emacs. (Mon, 01 Feb 2021 17:00:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 46226 <at> debbugs.gnu.org
Subject: Re: bug#46226: Item in .elc but not .el.gz and no note that
 original value was changed
Date: Tue, 02 Feb 2021 00:42:03 +0800
Well the result is *Help* shows links that send users on wild goose
chases half the time.




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

This bug report was last modified 4 years and 168 days ago.

Previous Next


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