Hi, 2017-09-28 18:32 GMT+02:00 Ikumi Keita <ik...@ikumi.que.jp>: > Hi all, > >>>>>> Ikumi Keita <ik...@ikumi.que.jp> writes: >> Hi Mosè, >>>>>> Mosè Giordano <m...@gnu.org> writes: >>> Hi Keita, >>> the same feature has been asked for Okular on TeX.se: >>> https://emacs.stackexchange.com/q/35788/620 Is there any chance to >>> generalize it to any viewer? > >> OK, I'll take a look and see if it is possible in a clean manner. > > I think the attached patch does the supposed job basically. It inserts > addtional process at the end of `TeX-command' and brings the focus back > to emacs if the relavant user option is non-nil and the command is > "View".
The patch looks good, but... doesn't work for me, at least with Okular. Instead it works with Evince. > In this patch, the user option is renamed from > `TeX-view-evince-keep-focus' to `TeX-view-keep-focus'. Good idea. Bye, Mosè _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel