emacs-devel
[Top][All Lists]
Advanced

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

Re: texinfo question about `...' and links - possible enhancement?


From: Eli Zaretskii
Subject: Re: texinfo question about `...' and links - possible enhancement?
Date: Thu, 20 Sep 2012 23:48:50 +0300

> From: "Drew Adams" <address@hidden>
> Date: Thu, 20 Sep 2012 13:24:49 -0700
> 
>  `atom'
>       see atom.
> 
>  `arrayp'
>       see arrayp.
> 
>  `bool-vector-p'
>       see bool-vector-p.
> 
>  `bufferp'
>       see bufferp.
> 
>  `byte-code-function-p'
>       see byte-code-function-p.
> 
>  `case-table-p'
>       see case-table-p.
> 
>  `char-or-string-p'
>       see char-or-string-p.
> 
> and so on.
> 
> It would be less noisy and easier to read if the `...' were themselves simply
> links, so that instead of "`foo' see foo." you would see just "`foo'", with
> "foo" highlighted as a link:
> 
>  `atom'
>  `arrayp'
>  `bool-vector-p'
>  `bufferp'
>  `byte-code-function-p'
>  `case-table-p'
>  `char-or-string-p'
> 
> etc.  Would such an enhancement be feasible?

We could use @ref in Texinfo to get a bare link without the "see", but
AFAIK it's impossible to decorate links with the typeface of a program
symbol using Texinfo features.

> Another possibility might be to provide such linking automatically, based on 
> the
> presence of such a term in the index.  In that case, whenever foo is indexed, 
> a
> mention of `foo' in the manual would link to the same target location as the 
> foo
> index entry does.  If automatic, there should probably be a way to override 
> that
> (turn it off for one or for all occurrences).

This should be possible in Emacs, assuming it could be fast enough
(indices could be quite long).



reply via email to

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