From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: Re: Visiting open processes when killing emacs Date: Wed, 15 Dec 2010 09:45:29 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292427947 15232 80.91.229.12 (15 Dec 2010 15:45:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 15:45:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 15 16:45:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PStXx-0007oZ-2h for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 16:45:43 +0100 Original-Received: from localhost ([127.0.0.1]:59101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PStXv-0000Z4-Cb for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 10:45:39 -0500 Original-Received: from [140.186.70.92] (port=42884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSnvQ-0006aH-Pd for help-gnu-emacs@gnu.org; Wed, 15 Dec 2010 04:45:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSnvP-0000WS-Cl for help-gnu-emacs@gnu.org; Wed, 15 Dec 2010 04:45:32 -0500 Original-Received: from mail-ey0-f177.google.com ([209.85.215.177]:55549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSnvP-0000W4-6I for help-gnu-emacs@gnu.org; Wed, 15 Dec 2010 04:45:31 -0500 Original-Received: by eyd9 with SMTP id 9so1243050eyd.36 for ; Wed, 15 Dec 2010 01:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=URY7qnwrzA0gpphD0u+SnZY6rFzazZ/hSLUeZfahXrA=; b=FUem+xOND5W3UCO8UblayYWdzkbkPzb3/evZbuw5ULNUuISE5DE28oXEFfgqLLpCGD BLf+GybsBIxmLr7BZe/qiprxeqcdFGipGMl+0wD0iwWmg2W2/a43MoBAMuKOYsWPm/Im 9XcoemtaAq7I1JMrU3xtHJ5BaHWpVn9ZKVdYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=SbuIGerARE7Jf7RyWxBh2Jz4yesk2q/kC47JNDgbWDeJvGI1dcQwjYSkI8Suy0C7i9 +BrRozBGG+tJmpI/G5cTJjUkqTOo4sfssrNA1/OzaO6VgfNggRWddUCuuZpT7/8vS+yk ELfGGmU/nlAHTnd3WmsyHKffBUgJz/fG1/M68= Original-Received: by 10.213.9.3 with SMTP id j3mr1510280ebj.66.1292406330182; Wed, 15 Dec 2010 01:45:30 -0800 (PST) Original-Received: from Victoria.local (cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com [86.9.122.85]) by mx.google.com with ESMTPS id t5sm780863eeh.14.2010.12.15.01.45.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Dec 2010 01:45:29 -0800 (PST) In-Reply-To: (Kevin Rodgers's message of "Tue, 14 Dec 2010 22:09:11 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (Mac OS X 10.6.5) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 15 Dec 2010 10:34:29 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77540 Archived-At: On 2010-12-15 05:09 +0000, Kevin Rodgers wrote: > On 11/17/10 11:30 AM, Michael Hoffman wrote: >> I've started using term-mode in emacs and so I often have several terms >> processes open when I try to kill emacs. Emacs displays the process-list at this >> point, but actually visiting the open processes to close them all is a little >> clunky. I either have to select each buffer individually with C-x b, or use C-x >> C-b and try to identify all the appropriate buffers from there. That's a little >> less smooth than I was hoping for either, and is complicated by the update to >> the buffer list when I close one of the other process buffers. >> >> Is there a better way to do this? > > The *Process List* buffer created by list-processes should allow you to select > each process' buffer by clicking (or typing RET if point is within the buffer > name), just like list-buffers does. Unfortunately, my Emacs Lisp-fu is weak > after lack of practice and it does not help that list-processes is implemented > in C. I re-implemented list-processes in elisp (https://github.com/leoliu/emacs-process) because I also find myself wanting to kill processes in that buffer from time to time. There is a chance this might eventually replace the C version upstream. So I'd appreciate any comments and feature requests. Hitting RET to visit a process buffer would be easy to add. Let me know if it is still needed. Cheers, Leo -- Oracle is the new evil