Re: TeX-documentation-texdoc

2023-01-28 Thread Ikumi Keita
Hi, > Arash Esbati writes: > Hi Keita, > Ikumi Keita writes: >> That's a good idea. Can I leave that work to you? > Yes, you can :-) I'll try to work on this soonish. Thank you. I pushed the commit except the prompt formatting. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: TeX-documentation-texdoc

2023-01-27 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > That's a good idea. Can I leave that work to you? Yes, you can :-) I'll try to work on this soonish. Best, Arash

Re: TeX-documentation-texdoc

2023-01-27 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Thanks for working on this. Reg. > 0001-Make-TeX-documentation-texdoc-work-for-okular, I have some minor > comments: Thanks. > I think we can shorten this by calling `thing-at-point' with the > optional second argument NO-PROPERTIES > (thing-at-point

Re: TeX-documentation-texdoc

2023-01-26 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Thanks for confirmation. I'll commit the attached patch #1, > incorporating Arash's suggestion. Thanks for working on this. Reg. 0001-Make-TeX-documentation-texdoc-work-for-okular, I have some minor comments: diff --git a/tex.el b/tex.el index

Re: TeX-documentation-texdoc

2023-01-26 Thread Ikumi Keita
Hi Greg and Arash, > Greg Bognar writes: > 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

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

Re: TeX-documentation-texdoc

2023-01-23 Thread Ikumi Keita
> Greg Bognar writes: > 1. Unfortunately, the new function definition below does not work with > okular. Same problem as before. Too bad. :-) > 2. All of the environment variables PDFVIEWER, PDFVIEWER_texdoc, > TEXDOCVIEW_pdf, and TEXDOC_VIEWER_PDF have an empty value. Thank you. It seems

Re: TeX-documentation-texdoc

2023-01-23 Thread Greg Bognar via General discussion about AUCTeX
Hi Ikumi, 1. Unfortunately, the new function definition below does not work with okular. Same problem as before. 2. All of the environment variables PDFVIEWER, PDFVIEWER_texdoc, TEXDOCVIEW_pdf, and TEXDOC_VIEWER_PDF have an empty value. All the best, Greg

Re: TeX-documentation-texdoc

2023-01-22 Thread Ikumi Keita
Hi Greg, > Greg Bognar writes: > Your code works! So yes, your commit harmed okular in some way. Thank you. That's a bad news for me :-) > Where do we go from here? Then we have to find out the way compatible for both okular and evince. Unfortunately, the old code is bad for evince; it

Re: TeX-documentation-texdoc

2023-01-22 Thread Greg Bognar via General discussion about AUCTeX
Hi Ikumi, Your code works! So yes, your commit harmed okular in some way. Where do we go from here? All the best, Greg --- On Sun 22 Jan 2023 at 10:37 Ikumi Keita wrote: > > Hi Greg, > > > Greg Bognar via

Re: TeX-documentation-texdoc

2023-01-22 Thread Ikumi Keita
Hi Greg, > Greg Bognar via General discussion about AUCTeX writes: > It turns out that C-u C-c? works: it opens a buffer with a list of related > files > and then opens the selected one in my PDF viewer (okular). It's only when I > call `TeX-documentation-texdoc' without a prefix argument

Re: TeX-documentation-texdoc

2023-01-21 Thread Greg Bognar via General discussion about AUCTeX
It turns out that C-u C-c? works: it opens a buffer with a list of related files and then opens the selected one in my PDF viewer (okular). It's only when I call `TeX-documentation-texdoc' without a prefix argument that okular seems to be started (a startup notification appears in the panel), but

Re: TeX-documentation-texdoc

2023-01-20 Thread Pieter van Oostrum
Greg Bognar via General discussion about AUCTeX writes: > Hi, > > When I run `TeX-documentation-texdoc' (from the menu or with C-c ?), nothing > happens. The mouse pointer does turn into busy, but it stops after a while. > Nothing is written to *Messages* or to .xsession-errors. > > The texdoc

Re: TeX-documentation-texdoc

2023-01-20 Thread Greg Bognar via General discussion about AUCTeX
I forgot to mention that I tried that too. It works. It prints Icon theme "gnome" not found. Icon theme "gnome" not found. Icon theme "gnome" not found. ... but opens the requested document in a PDF viewer. It's only when I try TeX-documentation-texdoc that I have the problem.

Re: TeX-documentation-texdoc

2023-01-20 Thread David Kastrup
Greg Bognar via General discussion about AUCTeX writes: > Hi, > > When I run `TeX-documentation-texdoc' (from the menu or with C-c ?), nothing > happens. The mouse pointer does turn into busy, but it stops after a while. > Nothing is written to *Messages* or to .xsession-errors. > > The texdoc