all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: process-list in Elisp
Date: Sat, 26 Feb 2011 16:12:09 -0500	[thread overview]
Message-ID: <jwvei6u7b9z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m1ipwcmtlc.fsf@gmail.com> (Leo's message of "Tue, 22 Feb 2011 15:11:43 +0800")

> I attach an implementation of list-processes in elisp that's more or
> less equivalent to the primitive list-processes except it no longer pops
> up an empty buffer when the process list is empty.

In order to limit the complaints, I'd like to make sure the "more or
less" is closer to more than to less.  One thing that is immediately
obvious is that the original code uses with-output-to-temp-buffer
whereas you use something else, so your code doesn't obey the various
hooks run by with-output-to-temp-buffer.  Was there a particular reason
for this change?  Do you know of other similar changes to the behavior?
Have you followed the C source code when writing the new code, or have
you simply tried to reproduce the behavior you saw?


        Stefan



  parent reply	other threads:[~2011-02-26 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 21:48 process-list in Elisp Stefan Monnier
2011-02-22  7:11 ` Leo
2011-02-22 18:10   ` Stefan Monnier
2011-02-26 21:12   ` Stefan Monnier [this message]
2011-03-03  2:00     ` Leo

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

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

  git send-email \
    --in-reply-to=jwvei6u7b9z.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@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.
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.