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.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 46226 <at> debbugs.gnu.org
Subject: bug#46226: 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."




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

Previous Next


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