From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: called by a process filter? Date: Fri, 13 May 2005 11:46:30 -0600 Message-ID: References: <874qd95xet.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116006588 10634 80.91.229.2 (13 May 2005 17:49:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 May 2005 17:49:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 13 19:49:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DWeHa-0002i0-Pg for ged-emacs-devel@m.gmane.org; Fri, 13 May 2005 19:49:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWeQa-0002BS-R6 for ged-emacs-devel@m.gmane.org; Fri, 13 May 2005 13:58:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DWeMe-0001gF-JX for emacs-devel@gnu.org; Fri, 13 May 2005 13:54:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DWeMV-0001f0-JE for emacs-devel@gnu.org; Fri, 13 May 2005 13:54:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWeMR-0001QS-KA for emacs-devel@gnu.org; Fri, 13 May 2005 13:54:09 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DWeO8-0002Gt-77 for emacs-devel@gnu.org; Fri, 13 May 2005 13:55:53 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DWe85-0001Vx-4n for emacs-devel@gnu.org; Fri, 13 May 2005 19:39:17 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 May 2005 19:39:17 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 May 2005 19:39:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37092 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37092 Kim F. Storm wrote: > Kevin Rodgers writes: >>There certainly is a better way, suggested on gnu.emacs.sources several >>years ago by Dave Love, but I haven't had the time to properly >>generalize it. What I'd like to do right now is help someone using my >>legacy code, with a patch to work around this problem. > > Asking for a change to emacs internals to support your legacy code > isn't a good reason in itself. And it won't fix the problem for > users using older emacs releases. Sorry for confusing my 2 separate requests: 1. How to detect that a process filter is running, in Emacs 21, so that I can help someone still using my legacy code. I should have posted that question to gnu.emacs.help. 2. If that's not possible, how Emacs 22 might provide such a feature, for its general utility to Emacs Lisp programmers. It sounds like the this-process variable may be implemented -- perfect! Thanks, -- Kevin Rodgers