unofficial mirror of bug-gnu-emacs@gnu.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

* bug#46226: Item in .elc but not .el.gz and no note that original value was changed
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-01  9:01 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 46226

積丹尼 Dan Jacobson <jidanni@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





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

* bug#46226: Item in .elc but not .el.gz and no note that original value was changed
  2021-02-01  9:01 ` Lars Ingebrigtsen
@ 2021-02-01 16:42   ` 積丹尼 Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-02-01 16:42 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 46226

Well the result is *Help* shows links that send users on wild goose
chases half the time.





^ 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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).