bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30073: 27.0.50; dired-do-delete ignores customization for short answ


From: Juri Linkov
Subject: bug#30073: 27.0.50; dired-do-delete ignores customization for short answers
Date: Thu, 25 Jan 2018 23:20:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]