🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99844

y-or-n-p uninterruptability

#99844
From: Stavros Macrakis
Date: Thu, 19 Apr 1990 22:49
23 lines
1391 bytes
GNU Emacs 18.55.1 of Tue Oct 31 1989 on marat (hpux)

y-or-n-p is not interruptible by ^G.  This is appropriate for certain
cases, but in my opinion not for most.  The answer "n" is in some
cases equivalent to quitting (e.g. add-abbrev), but not always:

repeat-matching-complex-command

  Not only can you not quit with ^G, you can't even move to other
windows from the minibuffer to fix things up before you go.

save-buffers-kill-emacs
save-some-buffers

  If you ^G, presumably you didn't want save all the buffers after all
(or to quit Emacs for that matter).

Suggested solution:

Have an interruptable and an uninterruptable version.

Of course, if it becomes interruptable, programs which are not careful
about unwind-protect'ing themselves could get into trouble....
Technical Details
Message-ID: <9004191448.AA05516@mururoa.imag.fr>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!ri.osf.fr!macrakis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,4d6d9c470b07dc13,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-04-20 02:39:33 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!ri.osf.fr!macrakis
From: macrakis@ri.osf.fr (Stavros Macrakis)
Newsgroups: gnu.emacs.bug
Subject: y-or-n-p uninterruptability
Message-ID: <9004191448.AA05516@mururoa.imag.fr>
Date: 19 Apr 90 22:49:09 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23
Posted: Thu Apr 19 23:49:09 1990