Hi Eric,
 
after playing a little bit around with textinfo files i have found that if AucTeX is installed, then texinfo files will not being parsed by semantic but by imenu - IMHO not really good, because the semantic parser is better.
 
I have found the reason:
 
In semantic-texi.el and semantic-load.el you do:
 
(add-hook 'texinfo-mode-hook 'semantic-default-texi-setup)
But this adds the semantic-default-texi-setup only for modes run in texinfo-mode which is the mode shipped with Emacs, not the AucTeX tex-info-mode!
AucTeX has an own hook named TeXinfo-mode-hook, so i would vote for the following additional code in semantic-texi.el and semantic-load.el:
 
(add-hook 'texinfo-mode-hook 'semantic-default-texi-setup)
(when (locate-library "tex-info") ;; signalize that AucTeX is installed and therefore the tex-info-mode of AucTex is used.
  (defvar TeXinfo-mode-hook nil)
  (add-hook 'TeXinfo-mode-hook 'semantic-default-texi-setup))
 
With this additional code also the tex-info-mode of AucTeX (which is really better than the standard one) uses the semantic-parser which is really better then the imenu-parser!
 
What do you think?
 
BTW: All of this is tested with semantic-v1p4!!
 
Ciao,
Klaus

 
Klaus Berndl                     mailto: klaus.berndl@sdm.de
sd&m AG                         http://www.sdm.de
software design & management
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220