* Alan Ristow (2006-06-28) writes:
Ralf Angeli wrote:
What appears if you copy the lines
(when (executable-find "texdoc")
(TeX-search-files nil '("dvi" "pdf" "ps" "txt" "html") t t))
into the *scratch* buffer, place the cursor behind the last
parenthesis and type `C-j'?
("test" "campanile" "beamericonbook" "beamericonbook.20"
"beamericonarticle" "beamericonarticle.20" "beamer-icsi-logo"
"powerdot-default")
It appears to be searching more than one directory, as I don't have a
directory that contains exactly this set of files. However, my TeX tree
obviously contains a lot more than eight files of the types listed in
your command. None of them, with the possible exception of "test",
appears to be related to anything I've opened since installing Emacs.
I just had a quick look and the problem appears to be the alternate
search which is being used if kpathsea-based search is not available.
That's the case with MikTeX for example. The alternate search,
however, searches below the various TeX roots in the "tex"
subdirectory whereas all the documentation is below the "doc"
subdirectory. I'll try to fix this ...