Tassilo Horn <[email protected]> writes: > [email protected] 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.
I had code lying in my .emacs, meant to maximize current frame (presumably from http://emacswiki.org/emacs/FullScreen#toc16), which I managed to modify to this : (defun yf/raise () (interactive) (x-send-client-message nil 0 nil "_NET_ACTIVE_WINDOW" 32 '(1 0 0))) Tested by opening a new term and calling emacsclient --eval "(yf/raise)" Not quite sure if the arguments are ok ; in fact I'm pretty sure the second 0 is not, but For Me, It Works©™ The spec is there if you want to have a closer look http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2731082 I can try and make a patch later if you want, but I'm a bit in a hurry right now. -- Nico. _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
