help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Transferring focus to Emacs


From: Thierry Volpiatto
Subject: Re: Transferring focus to Emacs
Date: Tue, 14 Jun 2011 19:10:29 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Joe Riel <address@hidden> writes:

> I want a separate program to give the focus to Emacs, and put the
> cursor in a particular (existing) buffer.

Try wmctrl:

wmctrl -xa emacs
emacsclient do_what_you_have _to_do
wmctrl -xa go_back_to_initial_window (optional e.g firefox)
    

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

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