unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 43593@debbugs.gnu.org
Subject: bug#43593: 27.1; `customize-set-variable': wrong prompt for Boolean value
Date: Thu, 24 Sep 2020 20:26:46 +0300	[thread overview]
Message-ID: <83d02bt7ah.fsf@gnu.org> (raw)
In-Reply-To: <8c3c3f0f-c6ed-4883-b815-1f729879f0d3@default> (message from Drew Adams on Thu, 24 Sep 2020 10:09:57 -0700 (PDT))

> Date: Thu, 24 Sep 2020 10:09:57 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> emacs -Q
> 
> (defcustom bar nil
>   "@@@"
>   :type 'boolean :group 'convenience)
> 
> M-x customize-set-variable bar
> Set variable: bar
> 
> The prompt for the Boolean value is this:
> 
> [boolean] Set customized value for bar to: (y or n)
> 
> Set it to WHAT?

To 'y' or to 'n'.

FWIW, I see no problem here, and would understand immediately what is
meant.  We do this kind of "translation" of boolean values a'll the
time in Customize.  Let's keep in mind that Customize is for users
that aren't Lisp programmers, so we don't want to request them to know
what Lisp boolean data looks like.





  reply	other threads:[~2020-09-24 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 17:09 bug#43593: 27.1; `customize-set-variable': wrong prompt for Boolean value Drew Adams
2020-09-24 17:26 ` Eli Zaretskii [this message]
     [not found] <<8c3c3f0f-c6ed-4883-b815-1f729879f0d3@default>
     [not found] ` <<83d02bt7ah.fsf@gnu.org>
2020-09-24 18:14   ` Drew Adams
2021-06-06 11:22     ` Lars Ingebrigtsen
2021-06-06 15:17       ` bug#43593: [External] : " Drew Adams

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=83d02bt7ah.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=43593@debbugs.gnu.org \
    --cc=drew.adams@oracle.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).