[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Info viewer: Links to symbol documentation
From: |
H. Dieter Wilhelm |
Subject: |
Re: Info viewer: Links to symbol documentation |
Date: |
Sat, 25 Apr 2020 15:21:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Stefan Kangas <address@hidden> writes:
> Stefan Monnier <address@hidden> writes:
>
>> AFAIK your code adds links to `describe-<foo>` commands, basically.
>> This is great for Emacs documentation, but not for all the Info pages
>> that document non-Emacs packages (Make, glibc, LaTeX, you name it).
>>
>> Not sure how to distinguish those two different cases.
>
> One could perhaps create a new defvar with a list of manuals for which
> to enable this, and disable it in all other cases. Perhaps more
> elegantly, one could add links only when there is a corresponding
> symbol in the obarray. Just two ideas.
The latter seems to me how help-mode.el implemented linking. And since
I - more or less literally - copied the relevant code, only defined
symbols are linked in an info buffer.
Dieter
--
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany