[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch

From: Ikumi Keita
Subject: Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.
Date: Fri, 29 Sep 2017 01:32:51 +0900

Hi all,

>>>>> Ikumi Keita <address@hidden> writes:
> Hi Mosè,
>>>>> Mosè Giordano <address@hidden> writes:
>> Hi Keita,
>> the same feature has been asked for Okular on
>>  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".  In this patch, the user option is renamed from
`TeX-view-evince-keep-focus' to `TeX-view-keep-focus'.

How do you think about this?

Ikumi Keita

Attachment: view-keep-focus-change
Description: patch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]