From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#30073: 27.0.50; dired-do-delete ignores customization for short answers Date: Tue, 16 Jan 2018 01:13:04 +0200 Organization: LINKOV.NET Message-ID: <87d12aaedz.fsf@mail.linkov.net> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1516059144 17220 195.159.176.226 (15 Jan 2018 23:32:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 23:32:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: contovob@tcd.ie, 30073@debbugs.gnu.org, Tino Calancha To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 16 00:32:19 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 1ebEEd-0003aQ-Rf for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jan 2018 00:32:11 +0100 Original-Received: from localhost ([::1]:44058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebEGd-00019F-Kn for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jan 2018 18:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebEGT-000185-QY for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 18:34:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebEGR-00021c-0d for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 18:34:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49985) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebEGQ-00021R-SC for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 18:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebEGQ-0007gc-M0 for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2018 18:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jan 2018 23:34: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.151605920229489 (code B ref 30073); Mon, 15 Jan 2018 23:34:02 +0000 Original-Received: (at 30073) by debbugs.gnu.org; 15 Jan 2018 23:33:22 +0000 Original-Received: from localhost ([127.0.0.1]:57881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebEFl-0007fZ-Px for submit@debbugs.gnu.org; Mon, 15 Jan 2018 18:33:21 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:57410 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebEFj-0007fR-MC for 30073@debbugs.gnu.org; Mon, 15 Jan 2018 18:33:19 -0500 Original-Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 2C03C2B206E; Mon, 15 Jan 2018 15:33:19 -0800 (PST) Original-Received: from localhost.linkov.net (m91-129-109-142.cust.tele2.ee [91.129.109.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPSA id D669C2B2065; Mon, 15 Jan 2018 15:33:17 -0800 (PST) In-Reply-To: (Drew Adams's message of "Mon, 15 Jan 2018 09:01:24 -0800 (PST)") 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:142188 Archived-At: > Do we all agree on the following points? > > 1. Users advising the yes/no confirmation-prompt functions > is not a good solution to users wanting to sometimes (or > always) use a different prompting approach from the one > chosen by the author of the code that prompts. I agree that advising the yes/no confirmation is not good from a customization standpoint. > 2. Choosing a single prompt approach (e.g. `y-or-n-p' or > `yes-or-no-p') for all contexts might be appropriate for > some users, but it is probably not a great idea in general. Please see an optional argument =E2=80=98short=E2=80=99 that I added to m= y previous patch. It will allow using short answers even when customizable variable is nil where code authors deem appropriate. > 3. Even a given user might appreciate that a given prompting > context asks them using the slow approach (`yes-or-no-p') > at first, or most of the time, but she might sometimes, > or even generally after some experience, prefer that that > prompting context use a faster approach (e.g. `y-or-n-p'). I'm not sure if we need more fine-grained customization. If the user decides that a short answer is enough, enough is enough.