From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: Listing process status in buffer list Date: 14 May 2002 20:47:21 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <1021423641.3997.324.camel@space-ghost> References: <200205141942.g4EJg3H15308@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1021423885 3101 127.0.0.1 (15 May 2002 00:51:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 00:51:25 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177n0m-0000nu-00 for ; Wed, 15 May 2002 02:51:24 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177nC4-0004fD-00 for ; Wed, 15 May 2002 03:03:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177n0k-0008EQ-00; Tue, 14 May 2002 20:51:22 -0400 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177mzs-0008CW-00 for ; Tue, 14 May 2002 20:50:28 -0400 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id 1579C74000BA for ; Tue, 14 May 2002 20:50:18 -0400 (EDT) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id C90E08507F2; Tue, 14 May 2002 20:47:21 -0400 (EDT) Original-To: emacs-devel@gnu.org In-Reply-To: <200205141942.g4EJg3H15308@aztec.santafe.edu> X-Mailer: Ximian Evolution 1.0.3 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3943 On Tue, 2002-05-14 at 15:42, Richard Stallman wrote: > By the way, in various buffer lists > .* *compilation* 58 Compilation > should also mention if its process is running or not, I suppose along > with shell window listings, etc. > > That is a good idea, and would not be hard to implement if > list-buffers is taught to look in some new buffer-local variable for > some extra text to put at the end of the line. > > Would someone like to do it? I should probably point out that ibuffer already has a process column, and if it didn't it would be easy to define it oneself: (define-ibuffer-column process () (ibuffer-aif (get-buffer-process buffer) (format "(%s %s)" it (process-status it)) "none")) Then put `process' anywhere in your `ibuffer-formats'. I personally use: (setq ibuffer-formats '((mark modified read-only " " (name 16 16 :left :elide) " " (size 6 -1 :right) " " (mode 16 16 :center :elide) " " (process 8 -1) " " filename) (mark " " (name 16 -1) " " filename))) This displays the process entry right before the filename.