🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189197

Re: reading a ^G

#189197
From: Jamie Zawinski
Date: Wed, 10 Apr 1991 19:10
6 lines
873 bytes
Thanks to all who answered.  The trick is to reset quit-flag after reading
the ^G, but within the scope of inhibit-quit.  As in

   (let ((inhibit-quit t))
     (prog1 (read-char)
       (setq quit-flag nil)))
Technical Details
Message-ID: <JWZ.91Apr10151010@thalidomide.lucid.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!rock.concert.net!mcnc!stanford.edu!lucid.com!campeau!jwz
References: <JWZ.91Apr10033333@thalidomide.lucid.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,2c8db96dc94edc07
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-11 03:44:05 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!rock.concert.net!mcnc!stanford.edu!lucid.com!campeau!jwz
From: jwz@lucid.com (Jamie Zawinski)
Newsgroups: gnu.emacs.help
Subject: Re: reading a ^G
Message-ID: <JWZ.91Apr10151010@thalidomide.lucid.com>
Date: 10 Apr 91 19:10:10 GMT
References: <JWZ.91Apr10033333@thalidomide.lucid.com>
Sender: usenet@lucid.com
Distribution: gnu
Organization: Lucid, Inc., Menlo Park, CA
Lines: 6
In-Reply-To: Jamie Zawinski's message of 10 Apr 91 03:33:33