Re: TeX-documentation-texdoc

2023-01-24 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > thanks for looking at this. I have one question: Would it make sense to > move the (executable-find "texdoc") further up in the function body? Yes, I think that it would make sense well. I honored the following comment in the former half of the defun, but

Re: TeX-documentation-texdoc

2023-01-24 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Thus I think that AUCTeX need not collect the output now; it just has to > look at the exit code. We can use `call-process' (with `executable-find' > test in case that Texdoc isn't available) to run Texdoc. thanks for looking at this. I have one question: Would

Re: TeX-documentation-texdoc

2023-01-24 Thread Greg Bognar via General discussion about AUCTeX
Great, it works now! It opens the requested file in the viewer and gives an error message if it does not exist. (Well, it often opens a file even if I give it a nonsensical string, like "d", which opens the documentation for baskervaldadf -- but I assume that's a texdoc thing.) All the