unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Colin Walters <walters@gnu.org>
Subject: Re: Listing process status in buffer list
Date: 14 May 2002 20:47:21 -0400	[thread overview]
Message-ID: <1021423641.3997.324.camel@space-ghost> (raw)
In-Reply-To: <200205141942.g4EJg3H15308@aztec.santafe.edu>

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.

      reply	other threads:[~2002-05-15  0:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14 19:42 Listing process status in buffer list Richard Stallman
2002-05-15  0:47 ` Colin Walters [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1021423641.3997.324.camel@space-ghost \
    --to=walters@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).