GNU bug report logs - #30073
27.0.50; dired-do-delete ignores customization for short answers

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Wed, 10 Jan 2018 21:45:02 UTC

Severity: normal

Tags: patch

Merged with 28525

Found in versions 26.0.60, 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, Eli Zaretskii <eliz <at> gnu.org>
Cc: contovob <at> tcd.ie, 30073-done <at> debbugs.gnu.org, tino.calancha <at> gmail.com
Subject: bug#30073: 27.0.50; dired-do-delete ignores customization for short answers
Date: Thu, 25 Jan 2018 10:04:53 -0800 (PST)
> Done.

The function name is not good.  `read-answer' suggests reading an answer
to any question.  This is very far from that.  This is (IIUC) only about
reading an answer to a yes/no question (typically a confirmation question).

`read-confirmation' would be much clearer, as any yes/no question can
pretty much be considered a question asking for confirmation.

(`read-yes-no' would be more exact, but for some (given history) it
would suggest reading the inputs `yes' and `no', and not just reading
anything that is interpreted as yes or no.)

Anyway, as I made clear, I'm not crazy about this fix.

If we want to generalize reading yes/no questions we should do so
in a better way, including providing an easy way for the possible
answers to be expressed in other languages than English.




This bug report was last modified 7 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.