bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46226: Item in .elc but not .el.gz and no note that original value w


From: 積丹尼 Dan Jacobson
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."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]