emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: yes-or-no-p prompt conditionally broken in master?


From: Wolfgang Jenkner
Subject: Re: yes-or-no-p prompt conditionally broken in master?
Date: Fri, 04 Sep 2015 14:29:57 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix)

On Thu, Sep 03 2015, Eli Zaretskii wrote:

>> Cc: emacs-devel <address@hidden>,
>>  Stefan Monnier <address@hidden>,
>>  Kaushal Modi <address@hidden>
>> From: Dmitry Gutov <address@hidden>
>> Date: Thu, 3 Sep 2015 20:28:22 +0300
>> 
>> (defalias 'yes-or-no-p 'y-or-n-p)
>
> Why?  Just don't.

FWIW, I don't, but I've been aware of this trick for a long time as part
of the emacs folklore (when I search for yes-or-no-p, DuckDuckGo
suggests the emacs wiki page[*], which mentions it, right after some
mirror of the Common Lisp Hyperspec)

So, IMHO, you are right in general, of course, that emacs developers
can't guarantee that such tricks will always work, but I don't think
that it would make sense to break user expectations in this particular
case.

[*] http://www.emacswiki.org/emacs/YesOrNoP



reply via email to

[Prev in Thread] Current Thread [Next in Thread]