Carlos Alegria Galicia <[email protected]> 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...

Bye,
Tassilo


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to