unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: called by a process filter?
Date: Thu, 12 May 2005 07:16:03 -0400	[thread overview]
Message-ID: <E1DWBff-0003wZ-2F@fencepost.gnu.org> (raw)
In-Reply-To: <d5tmij$u03$1@sea.gmane.org> (message from Kevin Rodgers on Wed,  11 May 2005 13:39:08 -0600)

    Is there a way to tell whether a function was called via process filter?

Not currently.

We could envision making the code that calls process filters
bind this-command to the process that sent the output.
That is an incompatible change, but your arguments show
that probably the code that runs in filters would not want
to test this-command, so it probably won't break anything.

We could also create a new variable, perhaps this-process,
and bind that instead.  I think the former is more elegant.

  parent reply	other threads:[~2005-05-12 11:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-11 19:39 called by a process filter? Kevin Rodgers
2005-05-11 20:06 ` Kevin Rodgers
2005-05-11 20:19 ` Stefan Monnier
2005-05-12 16:10   ` Kevin Rodgers
2005-05-13  9:34     ` Kim F. Storm
2005-05-13 17:46       ` Kevin Rodgers
2005-05-13 18:55         ` David Kastrup
2005-05-14  4:07         ` Richard Stallman
2005-05-12 11:16 ` Richard Stallman [this message]
2005-05-12 12:40   ` Kim F. Storm
2005-05-12 13:32     ` Stefan Monnier
2005-05-12 13:58       ` Kim F. Storm
2005-05-12 14:37         ` Stefan Monnier
2005-05-12 16:25         ` Kevin Rodgers
2005-05-13  9:31           ` Kim F. Storm
2005-05-13  1:33     ` Richard Stallman
2005-05-13 10:21       ` Kim F. Storm
2005-05-14  0:25         ` Richard Stallman

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=E1DWBff-0003wZ-2F@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).