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

2017-09-29 Thread Mosè Giordano
Hi, 2017-09-28 18:32 GMT+02:00 Ikumi Keita : > Hi all, > >> Ikumi Keita writes: >> Hi Mosè, >> Mosè Giordano writes: >>> Hi Keita, >>> the same feature has been asked for Okular on TeX.se: >>>

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

2017-09-28 Thread Ikumi Keita
Hi all, > Ikumi Keita writes: > Hi Mosè, > Mosè Giordano 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

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

2017-09-28 Thread Ikumi Keita
Hi Mosè, > Mosè Giordano 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. Bye,

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

2017-09-27 Thread Mosè Giordano
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? Bye, Mosè 2017-09-16 16:03 GMT+02:00 Ikumi Keita : > Hi Hong, > >> Hong Xu writes: > >>

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

2017-09-16 Thread Ikumi Keita
Hi Hong, > Hong Xu writes: > Thanks for picking up this patch. I like this plan -- and I can't think > of a better plan. OK, now I have just commited the change according to the plan. Thank you. Bye, Ikumi Keita ___

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

2017-09-15 Thread Hong Xu
On 09/15/2017 09:05 AM, Ikumi Keita wrote: > Hi Hong and all, > >> Hong Xu writes: >>> Hi everyone, >>> >>> I've now attached an updated version to add an option for that. >>> >>> Hong >>> > >> Are we still interested in this patch? :) > >> Hong > > If no one else is

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

2017-09-15 Thread Ikumi Keita
Hi Hong and all, > Hong Xu writes: >> Hi everyone, >> >> I've now attached an updated version to add an option for that. >> >> Hong >> > Are we still interested in this patch? :) > Hong If no one else is going to pick up this patch, I will take up this job. Hong, thank

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

2017-09-11 Thread Hong Xu
On 09/06/2017 01:09 PM, Hong Xu wrote: > On 08/20/2017 08:33 AM, Mosè Giordano wrote: >> Hi! >> >> 2017-08-20 17:21 GMT+02:00 : >>> Dear Mosè and Hong, >>> >>> I also use a setup similar to Hong's: I have the pdf viewer and emacs side >>> by side; at times I update the pdf just

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

2017-08-26 Thread Colin Baxter
> gojjoe writes: > It's code but also and foremost a typographic tool. When finishing > to latex-typeset a document – and "finishing" can take quite some > time in itself – I think it's inevitable to alternately compile > and check the output continuously,

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

2017-08-26 Thread Colin Baxter
> "David" == David Kastrup writes: David> Colin Baxter writes: >>> "Tassilo" == Tassilo Horn writes: >> Tassilo> Mosè Giordano writes: Hi! >> >> >>> Do you all agree to make this an option? If so, I

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

2017-08-26 Thread Colin Baxter
> "Tassilo" == Tassilo Horn writes: Tassilo> Mosè Giordano writes: Hi! >>> Do you all agree to make this an option? If so, I can update the >>> patch to accommodate that. >> >> I'm not still convinced that the patch you propose is a good

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

2017-08-26 Thread gojjoe
Hi Colin, On 2017-08-26 10:08, Colin Baxter wrote: > you wouldn't expect to view the output of the compilation as you > enter the code. You might look at an initial output but then you would > concentrate on the code before compiling again - you surely wouldn't do > both simultaneously. TeX/LaTeX

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

2017-08-26 Thread David Kastrup
Colin Baxter writes: >> "Tassilo" == Tassilo Horn writes: > > Tassilo> Mosè Giordano writes: Hi! > > >>> Do you all agree to make this an option? If so, I can update the > >>> patch to accommodate that. > >> > >> I'm not

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

2017-08-20 Thread Mosè Giordano
Hi! 2017-08-20 17:21 GMT+02:00 : > Dear Mosè and Hong, > > I also use a setup similar to Hong's: I have the pdf viewer and emacs side by > side; at times I update the pdf just to see how the text looks like, but I > still keep on working on the tex file. Eventually someone

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

2017-08-20 Thread gojjoe
Dear Mosè and Hong, I also use a setup similar to Hong's: I have the pdf viewer and emacs side by side; at times I update the pdf just to see how the text looks like, but I still keep on working on the tex file. If the pdf is open on the same region of text I'm working on, all I need to do is

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

2017-08-20 Thread David Kastrup
Mosè Giordano writes: > Dear Hong, > >> Do you all agree to make this an option? If so, I can update the patch >> to accommodate that. > > I'm not still convinced that the patch you propose is a good idea. > Why should people run "View" command to *not* view the document? If > you

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

2017-08-20 Thread Mosè Giordano
Dear Hong, > Do you all agree to make this an option? If so, I can update the patch > to accommodate that. I'm not still convinced that the patch you propose is a good idea. Why should people run "View" command to *not* view the document? If you only want to sync the viewer, you should define a

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

2017-08-20 Thread Hong Xu
On 08/10/2017 04:55 PM, Colin Baxter wrote: >> "Hong" == Hong Xu writes: > > Hong> On 08/09/2017 11:46 PM, Colin Baxter wrote: > >> Dear Hong, > >>> "Hong" == Hong Xu writes: > >> > Hong> On 08/09/2017 07:37 PM, Mosè Giordano wrote:

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

2017-08-10 Thread Colin Baxter
> "Hong" == Hong Xu writes: Hong> On 08/09/2017 11:46 PM, Colin Baxter wrote: >> Dear Hong, >>> "Hong" == Hong Xu writes: >> Hong> On 08/09/2017 07:37 PM, Mosè Giordano wrote: >> >> Hi! >> >> 2017-08-09 11:21 GMT+02:00 Hong Xu

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

2017-08-10 Thread Hong Xu
On 08/09/2017 11:46 PM, Colin Baxter wrote: > Dear Hong, >> "Hong" == Hong Xu writes: > > Hong> On 08/09/2017 07:37 PM, Mosè Giordano wrote: > >> Hi! > >> > >> 2017-08-09 11:21 GMT+02:00 Hong Xu : > >>> The current behavior switches

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

2017-08-09 Thread Colin Baxter
Dear Hong, > "Hong" == Hong Xu writes: Hong> On 08/09/2017 07:37 PM, Mosè Giordano wrote: >> Hi! >> >> 2017-08-09 11:21 GMT+02:00 Hong Xu : >>> The current behavior switches focus to Evince, which is >>> inconvenient for editing.

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

2017-08-09 Thread Hong Xu
On 08/09/2017 07:37 PM, Mosè Giordano wrote: > Hi! > > 2017-08-09 11:21 GMT+02:00 Hong Xu : >> The current behavior switches focus to Evince, which is inconvenient for >> editing. > > I guess you're referring to this: > https://emacs.stackexchange.com/q/34754/620 `C-c C-v' is

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

2017-08-09 Thread Mosè Giordano
Hi! 2017-08-09 11:21 GMT+02:00 Hong Xu : > The current behavior switches focus to Evince, which is inconvenient for > editing. I guess you're referring to this: https://emacs.stackexchange.com/q/34754/620 `C-c C-v' is used to open the viewer, so why you would like to keep focus

[AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.

2017-08-09 Thread Hong Xu
The current behavior switches focus to Evince, which is inconvenient for editing. This change pulls the focus back to Emacs after syncing. This change also make the behavior of syncing using Evince consistent with syncing using Zathura. --- tex.el | 3 ++- 1 file changed, 2 insertions(+), 1