From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: yes-or-no-p prompt conditionally broken in master? Date: Fri, 04 Sep 2015 09:24:41 -0400 Message-ID: References: <83k2s7a247.fsf@gnu.org> <55E88336.5060703@yandex.ru> <83h9nb9z5l.fsf@gnu.org> <55E8879B.9050107@yandex.ru> <83fv2v9y9z.fsf@gnu.org> <57355235-9af7-49fb-81b5-93182cfc9d49@default> <83a8t39x3t.fsf@gnu.org> <83zj128slp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441373112 12386 80.91.229.3 (4 Sep 2015 13:25:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 13:25:12 +0000 (UTC) Cc: kaushal.modi@gmail.com, dgutov@yandex.ru, drew.adams@oracle.com, bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 04 15:25:02 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXqzE-00042Z-BW for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 15:25:00 +0200 Original-Received: from localhost ([::1]:59099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXqzE-0001BT-1R for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 09:25:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXqz1-0001BL-3M for emacs-devel@gnu.org; Fri, 04 Sep 2015 09:24:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXqz0-0003g8-FP for emacs-devel@gnu.org; Fri, 04 Sep 2015 09:24:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXqyw-0003f2-Ih; Fri, 04 Sep 2015 09:24:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CVDQA731xV//rn92hcgxCEAsEVh0sEAgKBPDsSAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IPAS-Result: A0CVDQA731xV//rn92hcgxCEAsEVh0sEAgKBPDsSAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="162406997" Original-Received: from 104-247-231-250.cpe.teksavvy.com (HELO ceviche.home) ([104.247.231.250]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Sep 2015 09:24:41 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 74D9266096; Fri, 4 Sep 2015 09:24:41 -0400 (EDT) In-Reply-To: <83zj128slp.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Sep 2015 12:02:42 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189590 Archived-At: > Any objections to removing yes-or-no-p (with a defalias for backward > compatibility, of course) and making y-or-n-p serve both duties, > controlled by some defcustom? I don't object to moving yes-or-no-p to Elisp and/or to share code between yes-or-no-p and y-or-n-p, but the default behavior of Emacs should still be that yes-or-no-p uses the minibuffer and requires the user to type something like `y e s RET' while y-or-n-p is satisfied with a simple `y' or `SPC'. Stefan