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: Thu, 03 Sep 2015 21:27:50 +0300 Message-ID: <83a8t39x3t.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441304962 8982 80.91.229.3 (3 Sep 2015 18:29:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:29:22 +0000 (UTC) Cc: emacs-devel@gnu.org, dgutov@yandex.ru, monnier@iro.umontreal.ca, bruce.connor.am@gmail.com, kaushal.modi@gmail.com To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 20:29:13 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 1ZXZG4-0002qn-ND for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 20:29:12 +0200 Original-Received: from localhost ([::1]:50996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZG4-0006Pj-Kr for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 14:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZFg-0006Gt-JY for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:28:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZFd-0003gs-Dy for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:28:48 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:47013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZFd-0003go-6Z for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:28:45 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NU4002005XC4100@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Thu, 03 Sep 2015 21:27:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NU4002DX5YB0W90@a-mtaout21.012.net.il>; Thu, 03 Sep 2015 21:27:48 +0300 (IDT) In-reply-to: <57355235-9af7-49fb-81b5-93182cfc9d49@default> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:189545 Archived-At: > Date: Thu, 3 Sep 2015 11:23:17 -0700 (PDT) > From: Drew Adams > Cc: Kaushal Modi , emacs-devel , > Stefan Monnier , > Dmitry Gutov > > FWIW, I agree with both Eli and those who want the regression fixed. > > 1. Each place such a prompting function is used, we should pick > the right function. If `yes-or-no-p' is not right for a given > occurrence, and `y-or-n-p' is right, then let's fix that. > > 2. User preferences vary. Some users never want to respond to > a `yes-or-no-p' prompt. That's their choice. It should be easy > for them to express their choice and have Emacs respect it. I agree completely, and hope that just doing (1) correctly will be enough. But if (1) is not enough, then I think we should fix the rest of the use cases via a user option that redirects yes-or-no-p to y-or-n-p. Requesting us to drag on with supporting such defaliases is an unjustified maintenance burden.