MantisBT - CMake
View Issue Details
0015429CMakeCMakepublic2015-03-04 15:232016-06-10 14:31
Haroogan 
Kitware Robot 
normalfeaturealways
closedmoved 
 
 
0015429: Emacs: Please, inherit `cmake-mode' from `prog-mode'
The title speaks for itself. Is there any particular reason that you decided not to make any inheritance for `cmake-mode'? Some people (including me) have things like

(add-hook 'text-mode-hook 'fci-mode)
(add-hook 'prog-mode-hook 'fci-mode)

which make life easier, and that's exactly one of those features what proper mode inheritance was intended for.

Please, consider using proper way of Emacs major mode definition, i.e.

(define-derived-mode cmake-mode prog-mode "CMAKE" ...

Thank you.
No tags attached.
Issue History
2015-03-04 15:23HarooganNew Issue
2015-03-04 15:32Brad KingNote Added: 0038146
2015-03-09 09:54Brad KingNote Added: 0038184
2016-06-10 14:29Kitware RobotNote Added: 0042724
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0038146)
Brad King   
2015-03-04 15:32   
Thanks for pointing this out. No CMake developers are experts in emacs mode development so the cmake-mode is maintained by contributors. Please propose a specific patch.
(0038184)
Brad King   
2015-03-09 09:54   
For reference, some work is underway here:

 https://github.com/Kitware/CMake/pull/146 [^]
(0042724)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.