From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Transferring focus to Emacs Date: Wed, 15 Jun 2011 10:34:57 +0200 Message-ID: <2F15BADF-2549-45AB-B272-CC95F988D75D@Web.DE> References: <20110614094543.5928a5a6@gauss> <87r56wbapm.fsf@gmail.com> <20110614231449.06386484@gauss> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308127011 18084 80.91.229.12 (15 Jun 2011 08:36:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 08:36:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Joe Riel Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 15 10:36:47 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWlag-0000K7-Um for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 10:36:47 +0200 Original-Received: from localhost ([::1]:39668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWlag-0006kn-1s for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 04:36:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWlZ3-0006jq-7L for help-gnu-emacs@gnu.org; Wed, 15 Jun 2011 04:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWlZ1-0001dQ-Il for help-gnu-emacs@gnu.org; Wed, 15 Jun 2011 04:35:04 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:59006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWlZ1-0001bn-4C for help-gnu-emacs@gnu.org; Wed, 15 Jun 2011 04:35:03 -0400 Original-Received: from smtp07.web.de ( [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id CE5DE1919DE07; Wed, 15 Jun 2011 10:35:00 +0200 (CEST) Original-Received: from [95.223.147.214] (helo=ip-95-223-147-214.unitymediagroup.de) by smtp07.web.de with asmtp (WEB.DE 4.110 #2) id 1QWlYy-0005PZ-00; Wed, 15 Jun 2011 10:35:00 +0200 In-Reply-To: <20110614231449.06386484@gauss> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/py/4yA89NpCO3UDKZelyw1P98yQvFpPbdy2wz vLUv+kzjTYZCQZE7DMjgpup3HEx4HXLtxQNbC8Wirz0oLid2Eb p6xzt8b5bcT7KRYmktQg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81352 Archived-At: Am 15.06.2011 um 08:14 schrieb Joe Riel: > 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)? With ps you can determine the PID of its parent process. The pstree utility outputs the whole list of processes that lead to this process... -- Greetings Pete <] o __o |__ o HPV, the real ___o /I -\<, |o \ -\),-% high speed! ___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________