unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Drew Adams <drew.adams@oracle.com>
Cc: contovob@tcd.ie, 30073@debbugs.gnu.org, tino.calancha@gmail.com
Subject: bug#30073: 27.0.50; dired-do-delete ignores customization for short answers
Date: Thu, 25 Jan 2018 23:20:57 +0200	[thread overview]
Message-ID: <87h8r962y6.fsf@mail.linkov.net> (raw)
In-Reply-To: <42321f96-82d6-4aed-81e9-c793a668982f@default> (Drew Adams's message of "Thu, 25 Jan 2018 10:04:53 -0800 (PST)")

> 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	other threads:[~2018-01-25 21:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 21:41 bug#30073: 27.0.50; dired-do-delete ignores customization for short answers Juri Linkov
2018-01-11  3:00 ` Basil L. Contovounesios
2018-01-11 15:52   ` Eli Zaretskii
2018-01-11 17:34     ` Basil L. Contovounesios
2018-01-11 18:01       ` Eli Zaretskii
2018-01-11 19:39         ` Basil L. Contovounesios
2018-01-11 21:57         ` Juri Linkov
2018-01-11 21:54     ` Juri Linkov
2018-01-12  9:57       ` Eli Zaretskii
2018-01-13 22:38         ` Juri Linkov
2018-01-14 11:01           ` Tino Calancha
2018-01-14 22:53             ` Juri Linkov
2018-01-15  5:19               ` Eli Zaretskii
2018-01-15 23:02                 ` Juri Linkov
2018-01-16 17:56                   ` Eli Zaretskii
2018-01-17 22:56                     ` Juri Linkov
2018-01-18 21:11                       ` Juri Linkov
2018-01-15 17:01               ` Drew Adams
2018-01-15 23:13                 ` Juri Linkov
2018-01-16  0:48                   ` Drew Adams
2018-01-17 22:03                     ` Juri Linkov
2018-01-18  3:36                       ` Eli Zaretskii
2018-01-18 21:12                         ` Juri Linkov
2018-01-21 21:46                           ` Juri Linkov
2018-01-25 18:04                             ` Drew Adams
2018-01-25 21:20                               ` Juri Linkov [this message]
2018-01-25 21:48                                 ` Drew Adams
2018-01-26  7:57                                 ` Eli Zaretskii
2018-01-27 21:20                                   ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8r962y6.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=30073@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=drew.adams@oracle.com \
    --cc=tino.calancha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).