MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015521 | CMake | CMake | public | 2015-04-18 06:28 | 2016-01-04 11:51 |
| Reporter | Jostein Kjønigsen | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Emacs | OS | N/A | OS Version | N/A |
| Product Version | CMake 3.2.2 | ||||
| Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | ||
| Summary | 0015521: 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 [^] | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-04-18 06:28 | Jostein Kjønigsen | New Issue | |||
| 2015-04-20 09:58 | Brad King | Note Added: 0038546 | |||
| 2015-06-23 04:16 | Jostein Kjønigsen | Note Added: 0038960 | |||
| 2015-06-23 08:54 | Brad King | Note Added: 0038961 | |||
| 2015-06-23 08:55 | Brad King | Assigned To | => Brad King | ||
| 2015-06-23 08:55 | Brad King | Status | new => resolved | ||
| 2015-06-23 08:55 | Brad King | Resolution | open => fixed | ||
| 2015-06-23 08:55 | Brad King | Fixed in Version | => CMake 3.4 | ||
| 2015-06-23 08:55 | Brad King | Target Version | => CMake 3.4 | ||
| 2016-01-04 11:51 | Robert Maynard | Note Added: 0040085 | |||
| 2016-01-04 11:51 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||