[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp implementation of list-processes
From: |
Leo |
Subject: |
Re: Elisp implementation of list-processes |
Date: |
Wed, 01 Dec 2010 10:55:47 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (Mac OS X 10.6.5) |
On 2010-11-30 06:05 +0000, Bob Rogers wrote:
> status_notify is a static function in process.c, used to clean up when
> we find exited processes. It is unclear to me whether
> redisplay_preserve_echo_area is really necessary. In any case, a small
> DEFUN would seem to be in order. Not sure what to call it, though;
> "status_notify" is not very informative. Perhaps "process-clean-up"?
>
> The only other question is: Where should it go? It is called from
> save-buffers-kill-emacs in files.el (the only other use is in
> lisp/eshell/esh-proc.el), but files.el is already pretty crowded. On
> the other hand, autoloading it for something so basic might be
> problematic. Suggestions?
I think it could be moved to process-list.
In a similar scenario: list-buffers and buffer-list, the latter only
returns live buffers.
Cheers,
Leo