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 15:36:50 +0300 Message-ID: <83si6u8iot.fsf@gnu.org> References: <83k2s7a247.fsf@gnu.org> <55E88336.5060703@yandex.ru> <83h9nb9z5l.fsf@gnu.org> <854mjaxt65.fsf@iznogoud.viz> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441370228 29975 80.91.229.3 (4 Sep 2015 12:37:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 12:37:08 +0000 (UTC) Cc: kaushal.modi@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, bruce.connor.am@gmail.com, dgutov@yandex.ru To: Wolfgang Jenkner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 04 14:36:56 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 1ZXqEi-0000RP-4S for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 14:36:56 +0200 Original-Received: from localhost ([::1]:58728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXqEh-0007JP-GY for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 08:36:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXqEe-0007I7-BT for emacs-devel@gnu.org; Fri, 04 Sep 2015 08:36:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXqEb-0006h3-2n for emacs-devel@gnu.org; Fri, 04 Sep 2015 08:36:52 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:39449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXqEa-0006gw-R1 for emacs-devel@gnu.org; Fri, 04 Sep 2015 08:36:49 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NU500100K9JCO00@mtaout26.012.net.il> for emacs-devel@gnu.org; Fri, 04 Sep 2015 15:39:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NU500I4QKGZMJ80@mtaout26.012.net.il>; Fri, 04 Sep 2015 15:39:00 +0300 (IDT) In-reply-to: <854mjaxt65.fsf@iznogoud.viz> 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.182 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:189584 Archived-At: > From: Wolfgang Jenkner > Cc: Dmitry Gutov , kaushal.modi@gmail.com, monnier@iro.umontreal.ca, bruce.connor.am@gmail.com, emacs-devel@gnu.org > Date: Fri, 04 Sep 2015 14:29:57 +0200 > > FWIW, I don't, but I've been aware of this trick for a long time as part > of the emacs folklore (when I search for yes-or-no-p, DuckDuckGo > suggests the emacs wiki page[*], which mentions it, right after some > mirror of the Common Lisp Hyperspec) > > So, IMHO, you are right in general, of course, that emacs developers > can't guarantee that such tricks will always work, but I don't think > that it would make sense to break user expectations in this particular > case. I'm not going to break it just for the joy of breaking it, but if there's a good reason to change one of the APIs, we shouldn't back off just because of this trick. Especially if we provide an alternative method for doing the same (which is what is being discussed now).