David Kastrup <d...@gnu.org> writes: >> OK, this is odd - I now tested the version with raise-frame and it >> works with gnome-shell 3.4 (Debian/sid) and 3.8 (experimental), as >> well as the xfce wm, and it works, without wmctrl. When using a >> version of auctex with the odd timestamp calculation when calling >> evince, this still works, but only after I somehow switched several >> times "by hand" between emacs and evince... (?!) > > Is your variable focus-follows-mouse set/customized correctly? Emacs > can't reliably guess the proper setting.
Yes, I use "Window focus mode: Click" in the gnome shell, and `focus-follows-mouse' is nil. What's strange is that the (raise-frame) in `TeX-source-correlate-sync-source' is working fine for me (I don't even need to switch between Evince and Emacs "by hand" initially to make it working), but evaluating (progn (sit-for 5) (raise-frame)) in *scratch*, switching to some other X window and waiting a few seconds won't raise and focus the Emacs frame. Bye, Tassilo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org