From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30073: 27.0.50; dired-do-delete ignores customization for short answers Date: Tue, 16 Jan 2018 19:56:47 +0200 Message-ID: <83a7xdy9eo.fsf@gnu.org> References: <87bmi1cryh.fsf@mail.linkov.net> <87o9m1nlpl.fsf@gmail.com> <83po6g4cky.fsf@gnu.org> <87vag8f4da.fsf@mail.linkov.net> <83fu7b2yda.fsf@gnu.org> <87y3l1e68y.fsf@mail.linkov.net> <871sis66w1.fsf@gmail.com> <874lno10di.fsf@mail.linkov.net> <83k1wjzokj.fsf@gnu.org> <87efmqaeea.fsf@mail.linkov.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1516126982 15840 195.159.176.226 (16 Jan 2018 18:23:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 Jan 2018 18:23:02 +0000 (UTC) Cc: contovob@tcd.ie, 30073@debbugs.gnu.org, tino.calancha@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 16 19:22:58 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebVsr-0003Z3-EZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jan 2018 19:22:53 +0100 Original-Received: from localhost ([::1]:53219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebVur-0003Yw-AK for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jan 2018 13:24:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebVUs-00074p-Bz for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2018 12:58:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebVUo-0007Sy-H7 for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2018 12:58:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebVUo-0007Sr-DU for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2018 12:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebVUo-0001Yg-4V for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2018 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jan 2018 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 30073-submit@debbugs.gnu.org id=B30073.15161254305929 (code B ref 30073); Tue, 16 Jan 2018 17:58:02 +0000 Original-Received: (at 30073) by debbugs.gnu.org; 16 Jan 2018 17:57:10 +0000 Original-Received: from localhost ([127.0.0.1]:59013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebVTy-0001XZ-7D for submit@debbugs.gnu.org; Tue, 16 Jan 2018 12:57:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebVTu-0001X2-CJ for 30073@debbugs.gnu.org; Tue, 16 Jan 2018 12:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebVTl-0006iK-A5 for 30073@debbugs.gnu.org; Tue, 16 Jan 2018 12:57:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebVTl-0006iF-6J; Tue, 16 Jan 2018 12:56:57 -0500 Original-Received: from [176.228.60.248] (port=1661 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ebVTk-0007KE-Kg; Tue, 16 Jan 2018 12:56:57 -0500 In-reply-to: <87efmqaeea.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 16 Jan 2018 01:02:27 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142209 Archived-At: > From: Juri Linkov > Cc: tino.calancha@gmail.com, contovob@tcd.ie, 30073@debbugs.gnu.org > Date: Tue, 16 Jan 2018 01:02:27 +0200 > > > Why limit this to Dired? People who use fset to get y-or-n-p want > > that everywhere, right? > > Right, this is not specific to Dired. So we could add a new > customizable variable, and easily change ‘yes-or-no-p’ to call > ‘y-or-n-p’ if it's non-nil. Oh, wait, not so easily, > I see that ‘yes-or-no-p’ is implemented in C. Why is that a problem? C code can access Lisp variables and can call Lips functions. > Is there a particular reason why it's not in Lisp? Probably history, coupled with the fact that a few things it does are easier done in C. > In any case this would be better customization to choose between > “yes/no” and “y/n”. Why better? > Regarding a new multiple options reading function ‘read-answer’, I'm > not sure where to put it. How many callers does it have now, and which callers are those?