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: Joe Riel
Subject: Re: Transferring focus to Emacs
Date: Tue, 14 Jun 2011 12:25:04 -0700

On Tue, 14 Jun 2011 19:10:29 +0200
Thierry Volpiatto <thierry.volpiatto@gmail.com> wrote:

> Joe Riel <joer@san.rr.com> 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)

Thanks, nice suggestion. That works.

-- 
Joe Riel




reply via email to

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