all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Riel <jriel@maplesoft.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Transferring focus to Emacs
Date: Tue, 14 Jun 2011 23:14:49 -0700	[thread overview]
Message-ID: <20110614231449.06386484@gauss> (raw)
In-Reply-To: <87r56wbapm.fsf@gmail.com>

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)
  
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




  parent reply	other threads:[~2011-06-15  6:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 16:45 Transferring focus to Emacs Joe Riel
2011-06-14 17:10 ` Thierry Volpiatto
2011-06-14 19:25   ` Joe Riel
2011-06-15  6:14   ` Joe Riel [this message]
2011-06-15  8:34     ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110614231449.06386484@gauss \
    --to=jriel@maplesoft.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.