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... (?!) Anyway, that buggy case should be ignored.
Could you please check again that it does not work for you ? Cheers, Itai. ----- Mail original ----- De: "Tassilo Horn" <t...@gnu.org> À: can...@free.fr Cc: 702...@bugs.debian.org, bug-auc...@gnu.org Envoyé: Lundi 15 Avril 2013 10:54:31 Objet: Re: Bug#702871: Regarding forward and backward search with evince. can...@free.fr writes: > You mean you expect me to learn how to use emacs lisp correctly rather > than use ugly hacks.... ? Well, yes, I hoped to find a solution that doesn't rely on external programs. Unfortunately, that doesn't seem to be possible. There's no DBUS interface for that, and neither does (raise-frame) work. So I've applied your proposed patch that utilizes wmctrl. > Fine. How about adding a (raise-frame) then ? I've already tried that, but it didn't raise the emacs frame. It seems `raise-frame' is only usable between multile emacs frames but not between emacs frames and other X windows, i.e., you can raise one emacs frame above another emacs frame, but you can't raise it above some other X window. The same seems to apply to `focus-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