[Top][All Lists]

[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 23:14:49 -0700

On Tue, 14 Jun 2011 19:10:29 +0200
Thierry Volpiatto <address@hidden> wrote:

> 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)
Here's a variation on the theme.  Now I want to switch
focus back to the original window.  I know the process
number of a subprocess running in that window.  Is there
a way I can use it to find the process of the window 
(and finally the window itself)?

Joe Riel

reply via email to

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