From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: yes-or-no-p prompt conditionally broken in master? Date: Thu, 3 Sep 2015 11:23:17 -0700 (PDT) Message-ID: <57355235-9af7-49fb-81b5-93182cfc9d49@default> References: <83k2s7a247.fsf@gnu.org> <55E88336.5060703@yandex.ru> <83h9nb9z5l.fsf@gnu.org> <55E8879B.9050107@yandex.ru> <83fv2v9y9z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1441304636 2204 80.91.229.3 (3 Sep 2015 18:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:23:56 +0000 (UTC) Cc: emacs-devel , Dmitry Gutov , Stefan Monnier , Kaushal Modi To: bruce.connor.am@gmail.com, Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 20:23:40 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 1ZXZAc-0006Z5-H9 for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 20:23:34 +0200 Original-Received: from localhost ([::1]:50966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZAc-0004I4-81 for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 14:23:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZAY-0004Gg-82 for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:23:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZAX-0001z9-DK for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:23:30 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:31216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZAT-0001xy-FV; Thu, 03 Sep 2015 14:23:25 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t83INIMC019660 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 3 Sep 2015 18:23:19 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t83INIE4003702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 3 Sep 2015 18:23:18 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t83INIbN029191; Thu, 3 Sep 2015 18:23:18 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:189541 Archived-At: > >> > Just don't. > >> > >> It's been working fine for years. > > > > Sheer luck. >=20 > Regardless of how lucky it was, it is extremely useful. I've used it > for years too, and will be sad if it stops working completely. 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 do not recommend that a user replace all `yes-or-no-p' behavior by `y-or-n-p' behavior. But that's up to the user.)