unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Visiting open processes when killing emacs
Date: Wed, 15 Dec 2010 09:45:29 +0000	[thread overview]
Message-ID: <m1r5dj9xom.fsf@cam.ac.uk> (raw)
In-Reply-To: <ie9ihh$2h4$1@dough.gmane.org> (Kevin Rodgers's message of "Tue,  14 Dec 2010 22:09:11 -0700")

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



  reply	other threads:[~2010-12-15  9:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 18:30 Visiting open processes when killing emacs Michael Hoffman
2010-12-15  5:09 ` Kevin Rodgers
2010-12-15  9:45   ` Leo [this message]
2010-12-22  4:24     ` Kevin Rodgers
     [not found] ` <mailman.3.1292389761.26985.help-gnu-emacs@gnu.org>
2010-12-15 15:51   ` Stefan Monnier
2010-12-22  4:13     ` Kevin Rodgers

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=m1r5dj9xom.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /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.
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).