🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98886

`y-or-n-p' versus `abort-recursive-edit'

#98886
From: Francois Pinard
Date: Sat, 26 Jan 1991 18:07
30 lines
1596 bytes
In GNU Emacs 18.55.6 of Mon Jun 25 1990 on icule (usg-unix-v)

I took the habit of using `C-]' (abort-recursive-edit) to interrupt an
unfinished command requesting mini-buffer input, instead of `C-g'.
This should be ok, because `C-]' documentation says:

	Abort the command that requested this recursive edit or
	minibuffer input.

This does not seem to work with y-or-n-p.  Repeat by:

	emacs -q FILE			; open some file
	SPC				; modify the file
	C-x s				; save some buffers

Emacs reply with:

	Save $HOME/FILE? (y or n)

Then do:

	C-]				; try aborting the command

Emacs then says:

	Please answer y or n.  Save $HOME/FILE? (y or n)

-- 
Franc,ois Pinard          ``Vivement GNU!''         pinard@iro.umontreal.ca
(514) 588-4656    cp 886 L'Epiphanie (Qc) J0K 1J0    ...!uunet!iros1!pinard
Technical Details
Message-ID: <9101261807.AA05250@icule.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!LARRY.MCRCIM.MCGILL.EDU!pinard%icule.UUCP

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f967a0852b5f63f8,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-01-26 10:07:10 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!LARRY.MCRCIM.MCGILL.EDU!pinard%icule.UUCP
From: pinard%icule.UUCP@LARRY.MCRCIM.MCGILL.EDU (Francois Pinard)
Newsgroups: gnu.emacs.bug
Subject: `y-or-n-p' versus `abort-recursive-edit'
Message-ID: <9101261807.AA05250@icule.UUCP>
Date: 26 Jan 91 18:07:10 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: pinard@iro.umontreal.ca
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30
Approved: bug-gnu-emacs@prep.ai.mit.edu