View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014385 | CMake | Development | public | 2013-09-02 02:12 | 2016-06-10 14:31 | ||||
Reporter | Peter Eisentraut | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | any | OS | OS Version | ||||||
Product Version | CMake 2.8.11.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014385: integrate emacs cmake-mode with ELPA | ||||||||
Description | Please find the attached patch which makes two enhancements to cmake-mode.el: - Add some required headers to the file can act as a proper ELPA package and be installed by, say, package-install-file. - Add autoload cookies, so that auto-mode-alist is automatically set up when using ELPA. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0033772) Brad King (manager) 2013-09-02 09:01 |
In the hunks: -;; Add this code to your .emacs file to use the mode: +;; If you don't use ELPA, add this code to your .emacs file to use the +;; mode: ... +;; +;; If you use ELPA, this is set up automatically through autoloads. wouldn't it be simpler to use the other order: If you use ELPA, autoloads will set up the mode automatically. Otherwise, add this code to your .emacs file to use the mode: ? Will this hunk: +;;;###autoload +(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode)) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode)) have any effects when not using ELPA? |
(0042358) Kitware Robot (administrator) 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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-09-02 02:12 | Peter Eisentraut | New Issue | |
2013-09-02 02:12 | Peter Eisentraut | File Added: cmake-mode.patch | |
2013-09-02 09:01 | Brad King | Note Added: 0033772 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042358 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |