[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
- Re: yes-or-no-p prompt conditionally broken in master?, (continued)
- Re: yes-or-no-p prompt conditionally broken in master?, Eli Zaretskii, 2015/09/03
- Re: yes-or-no-p prompt conditionally broken in master?, David Kastrup, 2015/09/03
- Re: yes-or-no-p prompt conditionally broken in master?, Andy Moreton, 2015/09/03
- Re: yes-or-no-p prompt conditionally broken in master?, Eli Zaretskii, 2015/09/04
- Re: yes-or-no-p prompt conditionally broken in master?, Andreas Schwab, 2015/09/04
- Re: yes-or-no-p prompt conditionally broken in master?, Eli Zaretskii, 2015/09/04
- Re: yes-or-no-p prompt conditionally broken in master?, Andreas Schwab, 2015/09/04
- Re: yes-or-no-p prompt conditionally broken in master?, Stephen J. Turnbull, 2015/09/05
- Re: yes-or-no-p prompt conditionally broken in master?, Marcin Borkowski, 2015/09/03
- Re: yes-or-no-p prompt conditionally broken in master?, Kaushal Modi, 2015/09/03
- Re: yes-or-no-p prompt conditionally broken in master?,
Wolfgang Jenkner <=
- Re: yes-or-no-p prompt conditionally broken in master?, Eli Zaretskii, 2015/09/04
Re: yes-or-no-p prompt conditionally broken in master?, Katsumi Yamaoka, 2015/09/03