GNU bug report logs - #60587
30.0.50; Info pages are lacking links from symbol names to the symbol's help documentation

Previous Next

Package: emacs;

Reported by: "H. Dieter Wilhelm" <dieter <at> duenenhof-wilhelm.de>

Date: Thu, 5 Jan 2023 23:48:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: "H. Dieter Wilhelm" <dieter <at> duenenhof-wilhelm.de>, Eli Zaretskii <eliz <at> gnu.org>, "60587 <at> debbugs.gnu.org" <60587 <at> debbugs.gnu.org>, "monnier <at> iro.umontreal.ca" <monnier <at> iro.umontreal.ca>
Subject: bug#60587: Patch for adding links to symbols' help documentation
Date: Thu, 26 Jan 2023 15:23:09 +0000
> >> > 2. Instead of putting it on the hook when loading
> >> > the code, add/remove it in a :set function.  E.g.
> >> > (untested):...
> >> >
> >> > 3. Maybe add a toggle command for the option, so
> >> > users can switch the behavior anytime, on the fly.
> >>
> >> What about using `add-variable-watcher'?
> >
> > Did you mean for #2: when/where to add the function
> > to the hook?  Or did you mean use a watcher instead
> > of #3, a toggle command?
> 
> Both. Rather than searching for a dedicated "toggle" command, setting
> the variable with then trigger the hook addition/removal.

Doesn't matter what I think here, and I may
be missing your point.  But, in case it helps:

1. :set takes care of what you say.  And it's
   specifically for (1) only setting and (2)
   only user options.

2. I don't see how a watcher provides users
   with a command, to interactively toggle
   the value.

3. Cf. the suggestion to use a minor mode.




This bug report was last modified 2 years and 97 days ago.

Previous Next


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