[Top][All Lists]

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

Re: [AUCTeX] raise-frame

From: Tassilo Horn
Subject: Re: [AUCTeX] raise-frame
Date: Mon, 30 May 2016 13:56:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Carlos Alegria Galicia <address@hidden> writes:

Hi Carlos,

> Thanks for your answer. I can confirm that 'x-focus-frame' works on my
> system.

Really?  It doesn't work for me when being called by
`TeX-source-correlate-sync-source'.  Emacs stays in the background here.

But when I defer the call 1 second using

  (run-at-time 1 nil
   (lambda ()
    (x-focus-frame (selected-frame))))

then it does work.  Not sure why that is.  Maybe some focus stealing
prevention by Gnome?  I actually have no clue...


reply via email to

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