From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: yes-or-no-p prompt conditionally broken in master? Date: Fri, 04 Sep 2015 12:32:04 +0200 Message-ID: <87si6umqbs.fsf@mbork.pl> 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> <87k2s6o7qh.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441362778 9135 80.91.229.3 (4 Sep 2015 10:32:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 10:32:58 +0000 (UTC) To: Eli Zaretskii , kaushal.modi@gmail.com, bruce.connor.am@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru, drew.adams@oracle.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 04 12:32:50 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 1ZXoIX-0002co-LS for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 12:32:45 +0200 Original-Received: from localhost ([::1]:57789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXoIW-00018J-LA for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 06:32:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXoI8-000100-Ms for emacs-devel@gnu.org; Fri, 04 Sep 2015 06:32:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXoI7-0006B9-Qz for emacs-devel@gnu.org; Fri, 04 Sep 2015 06:32:20 -0400 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:55684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXoI2-00068O-M3; Fri, 04 Sep 2015 06:32:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 6117F8F200C; Fri, 4 Sep 2015 12:32:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SHwmeBwvqWVU; Fri, 4 Sep 2015 12:32:09 +0200 (CEST) Original-Received: from localhost (103-115.echostar.pl [213.156.103.115]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 5E2808F2003; Fri, 4 Sep 2015 12:32:09 +0200 (CEST) In-reply-to: <87k2s6o7qh.fsf@igel.home> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:5e00:2:52::8 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:189577 Archived-At: On 2015-09-04, at 11:26, Andreas Schwab wrote: > Eli Zaretskii writes: > >> 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? > > That doesn't make sense. They implement different intented meaning. +1. They serve different purposes, and they are both needed. At the same time. While I understand that someone might want to make yes-or-no-p behave like y-or-n-p all the time, someone else (like, say, me) might want to use y-or-n-p in places where just a confirmation is a nice thing to have, and yes-or-no-p in places where you really want to make sure that the user does not accidentally press `y'. > Andreas. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University