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


Message #89 received at 30073 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: contovob <at> tcd.ie, Eli Zaretskii <eliz <at> gnu.org>, 30073 <at> debbugs.gnu.org,
 tino.calancha <at> gmail.com
Subject: Re: bug#30073: 27.0.50;
 dired-do-delete ignores customization for short answers
Date: Thu, 25 Jan 2018 23:20:57 +0200
> The function name is not good.  `read-answer' suggests reading an answer
> to any question.

That's right, reading an answer to any question:

  (read-answer
   "What color do you like? "
   '(("red" ?r)
     ("green" ?g)
     ("blue" ?b)
     ("white" ?w)))

> 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.

It is already generalized:

  (read-answer
   "Comprenez-vous? "
   '(("oui" ?o)
     ("non" ?n)
     ("bien sûr" ?b)
     ("pas du tout" ?p)))




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.