MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014576 | CMake | CMake | public | 2013-11-17 18:26 | 2016-06-10 14:21 |
Reporter | Paul Smith | ||||
Assigned To | Eric NOULARD | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.12 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014576: cmake-mode.el is using an illegal keymap | ||||
Description | The GNU Emacs manual describes the keys in the map C-c <letter> as reserved for use by the user, where modes should not infringe. See http://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html [^] second bullet: > Don't define C-c _letter_ as a key in Lisp programs. Sequences > consisting of C-c and a letter (either upper or lower case) are > reserved for users; they are the only sequences reserved for users, so > do not block them. > Changing all the Emacs major modes to respect this convention was a > lot of work; abandoning this convention would make that work go to > waste, and inconvenience users. Please comply with it. However, in the cmake-mode.el that comes with cmake, it defines a map that uses those reserved keys: (defvar cmake-mode-map (let ((map (make-sparse-keymap))) (define-key map "\C-ch" 'cmake-help-command) (define-key map "\C-cl" 'cmake-help-list-commands) (define-key map "\C-cu" 'unscreamify-cmake-buffer) map) "Keymap used in cmake-mode buffers.") This map needs to be changed to use some other set of keys, that don't match the C-c <letter> reserved list. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-11-17 18:26 | Paul Smith | New Issue | |||
2013-11-18 08:33 | Brad King | Note Added: 0034457 | |||
2013-11-18 09:02 | Eric NOULARD | Note Added: 0034460 | |||
2013-11-18 09:38 | Brad King | Note Added: 0034461 | |||
2013-11-18 09:38 | Brad King | Assigned To | => Eric NOULARD | ||
2013-11-18 09:38 | Brad King | Status | new => backlog | ||
2016-05-20 14:40 | Paul Smith | Note Added: 0041079 | |||
2016-05-20 14:42 | Brad King | Status | backlog => resolved | ||
2016-05-20 14:42 | Brad King | Resolution | open => fixed | ||
2016-05-20 14:42 | Brad King | Note Added: 0041080 | |||
2016-06-10 14:21 | Kitware Robot | Note Added: 0041167 | |||
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|