[Top][All Lists]

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

Re: Some ideas with Emacs

From: Michael Welsh Duggan
Subject: Re: Some ideas with Emacs
Date: Sun, 01 Dec 2019 17:20:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Michael Welsh Duggan <address@hidden>
>> Date: Sun, 01 Dec 2019 14:44:48 -0500
>> > Almost all of them are, so it would be a significant bloat of the
>> > Emacs's memory footprint for very little gain.  I suggest that you
>> > instead teach yourself to use "C-h S" every time you wonder whether a
>> > function or variable is described in the manual(s): this command
>> > sounds like exactly what you'd want.  (If you already use it, I guess
>> > I don't understand what would you gain by having the information in
>> > the doc string.)
>> Although not trivial to write, this might be able to be auto-generated
>> to some extent.  If the function being looked up is an internal function
>> or the file in which the function is implemented is in the emacs
>> installed lisp files location (usually
>> $prefix/share/emacs/$VERSION/lisp), then we could look up the function
>> in them emacs-lisp manual and, if found, we could add a link to that
>> entry.  This could be implemented in the
>> `help-fns-describe-function-functions' hook.  The manual look-up would
>> be a hacked up version of `Info-index` which requires an exact match.
>> Something similar would be done for variable look-up (in
>> `help-fns-describe-variable-functions').
> Isn't that what "C-h S" already does?

It appears to, indeed.  All that is needed, then, is to integrate this
as a hyperlink into the C-h [f,v] buffers, without asking initially what
type of symbol you're looking for.

Michael Welsh Duggan

reply via email to

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