all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* texinfo question about `...' and links - possible enhancement?
@ 2012-09-20 20:24 Drew Adams
  2012-09-20 20:48 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Drew Adams @ 2012-09-20 20:24 UTC (permalink / raw)
  To: emacs-devel

There are lots of places in the Emacs manuals (esp. Elisp) where we mention a
function, macro, variable, etc. `...', which is documented elsewhere in the
manual, and we follow the `...' with a cross reference to that doc.

See, for instance, `(elisp) Type Predicates', which looks like this:

   Here is a table of predefined type predicates, in
 alphabetical order, with references to further information.

 `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?

I assume this would mean somehow stating, in texinfo, that you wanted the thingy
occurrence to be both between `...' and a link (in Emacs).  I.e., you would ask
for this treatment explicitly whenever you wanted it, providing the link target
node, just as you do now for the "see...".

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).




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

end of thread, other threads:[~2012-09-22 19:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 20:24 texinfo question about `...' and links - possible enhancement? Drew Adams
2012-09-20 20:48 ` Eli Zaretskii
2012-09-20 21:19   ` Drew Adams
2012-09-20 22:12     ` Juri Linkov
2012-09-21 23:41     ` Drew Adams
2012-09-22 19:52       ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.