texinfo manual index entries for @vindex etc

View: New views
2 Messages — Rating Filter:   Alert me  

texinfo manual index entries for @vindex etc

by Kevin Ryde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It'd be good if the texinfo manual had entries for vindex and friends in
the "Command and Variable Index".

I tried Emacs info-lookup-symbol on @vindex, hoping it would go to a
relevant node, but that func needs an entry in the "Command and Variable
Index" for where.  Would it be as easy as below (untested!)?


--- texinfo.txi.~1.244.~ 2009-05-11 07:31:01.000000000 +1000
+++ texinfo.txi 2009-10-17 09:49:21.000000000 +1100
@@ -9786,23 +9786,29 @@
 @table @samp
 @item cp
 @cindex @code{cp} (concept) index
+@findex cindex
 (@code{@@cindex}) concept index, for general concepts.
 @item fn
 @cindex @code{fn} (function) index
+@findex findex
 (@code{@@findex}) function index, for function and function-like
 names (such as entry points of libraries).
 @item ky
 @cindex @code{ky} (keystroke) index
+@findex kindex
 (@code{@@kindex}) keystroke index, for keyboard commands.
 @item pg
 @cindex @code{pg} (program) index
+@findex pindex
 (@code{@@pindex}) program index, for names of programs.
 @item tp
 @cindex @code{tp} (data type) index
+@findex tindex
 (@code{@@tindex}) data type index, for type names (such as structures
 defined in header files).
 @item vr
 @cindex @code{vr} (variable) index
+@findex vindex
 (@code{@@vindex}) variable index, for variable names (such as global
 variables of libraries).
 @end table

Re: texinfo manual index entries for @vindex etc

by Karl Berry :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Kevin,

    It'd be good if the texinfo manual had entries for vindex and friends in
    the "Command and Variable Index".

Indeed!

    Would it be as easy as below (untested!)?

Looks good to me, will do.

Thanks,
Karl