unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* called by a process filter?
       [not found] <d5tmij$u03$1@sea.gmane.org>
@ 2005-05-11 20:06 ` Kevin Rodgers
  0 siblings, 0 replies; only message in thread
From: Kevin Rodgers @ 2005-05-11 20:06 UTC (permalink / raw)
  Cc: help-gnu-emacs

Ooops, I meant to post to gnu.emacs.help, not .devel.  Followup-To set
to .help.

> Is there a way to tell whether a function was called via process filter?
> 
> I have a function that is installed on after-change-functions, and which
> tries to detect whether the change that triggered it is a user-invoked
> character insertion and thus of interest.  But if the change was done by
> a process filter (in particular gnuserv-process-filter -> gnuserv-eval),
> examining this-command, last-command-event, and/or the result of
> (this-command-keys) is completely unreliable because the process filter
> runs independently of the command loop.
> 
> It might be nice if Emacs temporarily bound all the command loop info
> variables to nil while it runs the process filters.  But since it
> doesn't seem to, how can I detect that situation?
> 
> Thanks,
 > --
 > Kevin Rodgers

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-11 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <d5tmij$u03$1@sea.gmane.org>
2005-05-11 20:06 ` called by a process filter? Kevin Rodgers

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