all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23649: 24.5; `customize-mode'
@ 2016-05-29 21:40 Drew Adams
  2016-06-25  3:14 ` Noam Postavsky
  0 siblings, 1 reply; 8+ messages in thread
From: Drew Adams @ 2016-05-29 21:40 UTC (permalink / raw)
  To: 23649

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'





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-25 20:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-29 21:40 bug#23649: 24.5; `customize-mode' Drew Adams
2016-06-25  3:14 ` 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

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.