all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Proposal for extending set-process-filter
Date: 27 Apr 2004 22:59:54 +0200	[thread overview]
Message-ID: <x5ekq92l2t.fsf@lola.goethe.zz> (raw)
In-Reply-To: <jwv1xm9ckyv.fsf-monnier+emacs@gnu.org>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> >     1) a function which gets two arguments. [insert old description]
> >     2) a buffer into which output gets inserted.
> > You should use set-process-buffer for that.

No, set-process-buffer actually changes the _associated_ buffer.
That is the buffer that when killed, kills the process as well.  It
is the buffer in which get-buffer-process might return the buffer.
It incidentally is also the _default_ location where output arrives
in case we have no filter function.

What I proposed was intended to redirect output (possibly just on one
file descriptor of stdout and stderr) to a potentially _different_
buffer.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2004-04-27 20:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26 23:55 Proposal for extending set-process-filter David Kastrup
2004-04-27 15:01 ` Stefan Monnier
2004-04-27 15:33   ` David Kastrup
2004-04-27 18:51     ` Stefan Monnier
2004-04-27 20:46       ` David Kastrup
2004-04-27 16:30 ` Richard Stallman
2004-04-27 18:53   ` Stefan Monnier
2004-04-27 20:59     ` David Kastrup [this message]
2004-04-29 10:44       ` Richard Stallman
2004-04-27 21:10   ` David Kastrup
2004-04-27 21:25     ` Stefan Monnier

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=x5ekq92l2t.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 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.