[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11522: 24.0.97; Bad doc about minor mode keys: (elisp) `Keymaps and
bug#11522: 24.0.97; Bad doc about minor mode keys: (elisp) `Keymaps and Minor Modes'
Sat, 19 May 2012 14:00:19 -0700
What (elisp) `Keymaps and Minor Modes' says is horribly wrong:
"The key sequences bound in a minor mode should consist of `C-c'
followed by one of `.,/?`'"\|~!#$%^&*()-_+='.
(The other punctuation characters are reserved for major modes.)"
Absolutely not. The `C-c' minor-mode keys, yes. Minor-mode keys in
What it is correct to say about minor-mode key bindings is said,
carefully, in (elisp) `Key Binding Conventions'. Nothing more
restrictive than that. And it is better to provide a link to that page
than it is to try to repeat that information in `Keymaps and Minor
Regarding `C-c' key sequences: Few of them are reserved for major modes.
The rest of them are allocated to minor modes or to users (`C-c' +
letter). That's the way the C-c-plus-punctuation restriction should be
presented: Minor modes get all C-c-plus-punctuation bindings not
mentioned in the major-mode list, and those are the only `C-c' keys they
But the real doc bug here is that it says that minor-mode keys are
limited to `C-c' followed by a punctuation mark from the list shown.
Not at all. Minor modes, like major modes, are by no means limited to
keys on prefix `C-c'!
In GNU Emacs 220.127.116.11 (i386-mingw-nt5.1.2600)
of 2012-05-16 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
|[Prev in Thread]
||[Next in Thread]|
- bug#11522: 24.0.97; Bad doc about minor mode keys: (elisp) `Keymaps and Minor Modes',
Drew Adams <=