The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15521 
====================================================================== 
Reported By:                Jostein Kjønigsen
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15521
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-18 06:28 EDT
Last Modified:              2015-04-18 06:28 EDT
====================================================================== 
Summary:                    cmake-mode.el does not derive from prog-mode.
Description: 
This means that lots of generic prog-mode hooks (like `projectile-mode` and
similar) won't get activated without adding a workaround like the following to
your `.emacs`-file:

````elisp
(add-hook 'cmake-mode-hook 'your-prog-mode-hook)
````

Not the end of the world, but definitely annoying.

Steps to Reproduce: 
1. Install emacs
2. Create a prog-mode hook according to your specifications
3. Install cmake-mode in emacs
4. Open cmake-file

5. Observe that cmake-mode-hook has been invoked, but not any prog-mode hooks.
Surely cmake is a programming-related mode?

Additional Information: 
A solution to this problem has been implemented in a fork found on Github:

https://github.com/roysc/cmake-mode/blob/master/cmake-mode.el#L247-L249
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-18 06:28 Jostein KjønigsenNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to