Tassilo Horn <[email protected]> writes:
> The problem with this approach is that XEmacs 21.4 doesn't have
> `x-send-client-message'.

I guess that the wmctrl approach can be combined with the
x-send-client-message approach:

  (if (fboundp 'x-send-client-message)
      (x-send-client-message nil 0 nil "_NET_ACTIVE_WINDOW" 32 '(1 0 0))
    (let ((wmctrl (executable-find "wmctrl")))
      (if wmctrl
           (start-process "wmctrl" nil wmctrl "-R" (frame-parameter nil 
'name)))))

The combination covers certainly more cases than one or the other
solution.

OTOH there might be something on xemacs that covers the capabilities of
x-send-client-message : that 'X' before 'Xemacs' probably means it should
be easy, doens't it ? (I don't have XEmacs)

-- 
Nico.


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

Reply via email to