From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: yes-or-no-p prompt conditionally broken in master? Date: Fri, 04 Sep 2015 20:39:06 +0300 Message-ID: <83pp1y84p1.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441388366 9686 80.91.229.3 (4 Sep 2015 17:39:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 17:39:26 +0000 (UTC) Cc: kaushal.modi@gmail.com, dgutov@yandex.ru, drew.adams@oracle.com, bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 04 19:39:14 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 1ZXuxD-0000VR-D1 for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 19:39:11 +0200 Original-Received: from localhost ([::1]:33911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXuxD-0008Cf-7D for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 13:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXux9-0008CN-TD for emacs-devel@gnu.org; Fri, 04 Sep 2015 13:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXux5-0003y3-T5 for emacs-devel@gnu.org; Fri, 04 Sep 2015 13:39:07 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:57622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXux5-0003xf-Lt for emacs-devel@gnu.org; Fri, 04 Sep 2015 13:39:03 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NU500400XTVZ400@mtaout27.012.net.il> for emacs-devel@gnu.org; Fri, 04 Sep 2015 20:35:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NU500MYFY7MDT80@mtaout27.012.net.il>; Fri, 04 Sep 2015 20:35:46 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 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:189601 Archived-At: > From: Stefan Monnier > Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org, dgutov@yandex.ru, drew.adams@oracle.com, kaushal.modi@gmail.com > Date: Fri, 04 Sep 2015 09:24:41 -0400 > > > 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'. Of course. That goes without saying. There was no intent to make any incompatible changes of behavior, just let users have an option to easily replace the yes-or-no-p behavior with y-or-n-p one.