bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] Bug#702871: Regarding forward and backward search with


From: Nicolas Richard
Subject: Re: [Bug-AUCTeX] Bug#702871: Regarding forward and backward search with evince.
Date: Mon, 15 Apr 2013 15:05:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Tassilo Horn <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]