* Why is list-processes implemented in C?
@ 2010-11-28 15:15 Leo
2010-11-28 19:01 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Leo @ 2010-11-28 15:15 UTC (permalink / raw
To: emacs-devel
Hello,
It looks like it can be implemented in elisp? Any idea why?
Thanks.
Leo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is list-processes implemented in C?
2010-11-28 15:15 Why is list-processes implemented in C? Leo
@ 2010-11-28 19:01 ` Stefan Monnier
2010-11-29 9:44 ` Leo
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2010-11-28 19:01 UTC (permalink / raw
To: Leo; +Cc: emacs-devel
> It looks like it can be implemented in elisp? Any idea why?
Probably a historical accident.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is list-processes implemented in C?
2010-11-28 19:01 ` Stefan Monnier
@ 2010-11-29 9:44 ` Leo
2010-11-29 12:14 ` Andreas Schwab
0 siblings, 1 reply; 5+ messages in thread
From: Leo @ 2010-11-29 9:44 UTC (permalink / raw
To: Stefan Monnier; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
On 2010-11-28 19:01 +0000, Stefan Monnier wrote:
>> It looks like it can be implemented in elisp? Any idea why?
>
> Probably a historical accident.
>
>
> Stefan
Elisp version attempt 1:
[-- Attachment #2: emacs-process.el --]
[-- Type: application/emacs-lisp, Size: 4520 bytes --]
[-- Attachment #3: Type: text/plain, Size: 5 bytes --]
Leo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is list-processes implemented in C?
2010-11-29 9:44 ` Leo
@ 2010-11-29 12:14 ` Andreas Schwab
2010-11-29 13:59 ` Leo
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2010-11-29 12:14 UTC (permalink / raw
To: Leo; +Cc: Stefan Monnier, emacs-devel
Leo <sdl.web@gmail.com> writes:
> (loop for name in (append '("Proc" "----") names)
> for status in (append '("Status" "------") statuses)
> for buffer in (append '("Buffer" "------") buffers)
> for command in (append '("Command" "-------") commands)
What about the tty column?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is list-processes implemented in C?
2010-11-29 12:14 ` Andreas Schwab
@ 2010-11-29 13:59 ` Leo
0 siblings, 0 replies; 5+ messages in thread
From: Leo @ 2010-11-29 13:59 UTC (permalink / raw
To: Andreas Schwab; +Cc: Stefan Monnier, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
On 2010-11-29 12:14 +0000, Andreas Schwab wrote:
> What about the tty column?
>
> Andreas.
Thanks.
The doc-string of list-processes says
"Any process listed as exited or signaled is actually eliminated
after the listing is made."
How to achieve that in elisp?
Attempt 2:
[-- Attachment #2: emacs-process.el --]
[-- Type: application/emacs-lisp, Size: 6520 bytes --]
[-- Attachment #3: Type: text/plain, Size: 5 bytes --]
Leo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-29 13:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-28 15:15 Why is list-processes implemented in C? Leo
2010-11-28 19:01 ` Stefan Monnier
2010-11-29 9:44 ` Leo
2010-11-29 12:14 ` Andreas Schwab
2010-11-29 13:59 ` Leo
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.