Article View: gnu.emacs.bug
Article #1122yes-or-no-p vs. y-or-n-p
From: Silver
Date: Thu, 27 Oct 1988 21:06
Date: Thu, 27 Oct 1988 21:06
17 lines
1099 bytes
1099 bytes
There are several instances of calls to yes-or-no-p which are hard-coded. I request that they consult the function bound to the symbol, rather than call the subroutine directly. The reasoning is that if someone is experienced enough to have the lines ;;;;;;;;;; Caveat emptor! yes-or-no-p -> y-or-n-p ;; ;; I cannot rationally cope with yes-or-no-p anymore. (fset 'yes-or-no-p 'y-or-n-p) in their .emacs, then they don't need the extra protection. Instead, they are forced to dutifully spell out `yes' or `no'. Of course, the answer must be correctly spelled. yea? yew? ye? ys? yes? Ahh, that got it! Regards, [Ag] gaynor@rutgers.edu
Technical Details
Message-ID:
<Oct.27.17.06.22.1988.22037@porthos.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!gaynorShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!gaynor From: gaynor@porthos.rutgers.edu (Silver) Newsgroups: gnu.emacs.bug Subject: yes-or-no-p vs. y-or-n-p Keywords: confirmation, protection, annoyance Message-ID: <Oct.27.17.06.22.1988.22037@porthos.rutgers.edu> Date: 27 Oct 88 21:06:23 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 17