🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #762

C-g puts emacs in an unstopable loop

#762
From: Stephane Boucher
Date: Sun, 27 Sep 1992 20:25
16 lines
1070 bytes
if C-g is pressed, when in function y-or-n-p and inhibit-quit is
nil, emacs repeatedly beeps while asking for a correct key.

If inhibit-quit is t, then everything works as expected when C-g
is pressed.

The following code is an example that makes emacs go into an
unstopable loop if C-g is pressed: 

(let ((inhibit-quit t))
	(y-or-n-p "Question foobar "))

  ,                          ,                           ,
Stephane Boucher, ing. jr. | Ecole Polytechnique de Montreal
sbo@vlsi.polymtl.ca        | Tel: (514)340-5950
sbo@info.polymtl.ca        | Fax: (514)340-4078
Technical Details
Message-ID: <9209272025.AA13979@wotan.vlsi.polymtl.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!vlsi.polymtl.ca!sbo

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!vlsi.polymtl.ca!sbo
From: sbo@vlsi.polymtl.ca (Stephane Boucher)
Subject: C-g puts emacs in an unstopable loop
Message-ID: <9209272025.AA13979@wotan.vlsi.polymtl.ca>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 27 Sep 1992 20:25:35 GMT
Approved: bug-gnu-emacs@prep.ai.mit.edu
Lines: 17