From: Drew Adams <drew.adams@oracle.com>
To: 23649@debbugs.gnu.org
Subject: bug#23649: 24.5; `customize-mode'
Date: Sun, 29 May 2016 14:40:58 -0700 (PDT) [thread overview]
Message-ID: <aff6f22d-3221-4166-9dbc-747edae94c2e@default> (raw)
The doc string is incorrect:
1. It says, "If a prefix C-u was given..."
Besides the fact that we write `C-u', not C-u, this is wrong because
it suggests that the prefix arg must be a plain `C-u', that you
cannot, for example, use `M-9', `C--', or even `C-u 3'. It should
just say "If a prefix arg is given..."
2. It is not true that the options you get are related to the current
major mode, or even to any major mode.
It would be OK to say this as a first line, if the rest of the doc
string made clear that the options can be related to a minor mode,
that is, MODE can name a minor, not just a major mode.
What the doc should say is that it customizes options related to
MODE, which can name a major or a minor mode, and that by default
MODE is the current major mode.
(This also takes care of specifying the argument and thus behavior
when called from Lisp, something missing from the doc string now.)
Example mode-string, corrected:
"Customize options related to a major or minor mode.
By default the current major mode is used.
With a prefix argument or if the current major mode has no known group,
you are prompted for the MODE to customize."
3. The prompt is thus incorrect as well: the candidates are not
necessarily major-mode names. It should just say "Mode: ".
See also bugs #11299 and #11301, which have not been addressed.
In GNU Emacs 24.5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --host=i686-pc-mingw32'
next reply other threads:[~2016-05-29 21:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-29 21:40 Drew Adams [this message]
2016-06-25 3:14 ` bug#23649: 24.5; `customize-mode' Noam Postavsky
2016-06-25 4:25 ` bug#23649: `customize-mode' Drew Adams
2016-06-25 8:03 ` bug#23649: 24.5; `customize-mode' Eli Zaretskii
2016-06-25 13:08 ` Noam Postavsky
2016-06-25 13:09 ` Eli Zaretskii
2016-06-25 17:35 ` Noam Postavsky
2016-06-25 20:44 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aff6f22d-3221-4166-9dbc-747edae94c2e@default \
--to=drew.adams@oracle.com \
--cc=23649@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.