all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#46226: Item in .elc but not .el.gz and no note that original value was changed
@ 2021-02-01  5:42 積丹尼 Dan Jacobson
  2021-02-01  9:01 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-02-01  5:42 UTC (permalink / raw)
  To: 46226

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."





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-01 16:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-01  5:42 bug#46226: Item in .elc but not .el.gz and no note that original value was changed 積丹尼 Dan Jacobson
2021-02-01  9:01 ` Lars Ingebrigtsen
2021-02-01 16:42   ` 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.