🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189483

Re: Inhibit-quit in Process Filter?

#189483
From: Kyle Jones
Date: Tue, 29 Jan 1991 18:28
13 lines
1171 bytes
eeide@cs.utah.edu (Eric Eide) writes:
 > I have written a process-in-a-buffer mode that uses a filter to handle output
 > from the inferior process.  My question is: if I want to be sure not to lose
 > process output, do I need to set inhibit-quit to T inside the filter?  Is a
 > filter "quitable"?
 > 
 > I know that setting inhibit-quit to T would be a safe thing; I just want to
 > know if it's necessary.

It is necessary.  It's easy to test this.  Just make your process
output filter go into a tight loop, e.g. (while t).  Once the
filter kicks in you won't be able to do anything but type C-g.
C-g will quit the loop.
Technical Details
Message-ID: <120550@uunet.UU.NET>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!kyle
References: <1991Jan28.171434.25394@hellgate.utah.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,ead1c9c321821177
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-01-29 14:20:35 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!kyle
From: kyle@uunet.UU.NET (Kyle Jones)
Newsgroups: gnu.emacs.help
Subject: Re: Inhibit-quit in Process Filter?
Message-ID: <120550@uunet.UU.NET>
Date: 29 Jan 91 18:28:43 GMT
References: <1991Jan28.171434.25394@hellgate.utah.edu>
Distribution: gnu
Organization: UUNET Communications Services, Falls Church, VA
Lines: 13