View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014385CMakeDevelopmentpublic2013-09-02 02:122016-06-10 14:31
ReporterPeter Eisentraut 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformanyOSOS Version
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014385: integrate emacs cmake-mode with ELPA
DescriptionPlease 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.
TagsNo tags attached.
Attached Filespatch file icon cmake-mode.patch [^] (1,752 bytes) 2013-09-02 02:12 [Show Content]

 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.

 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


Copyright © 2000 - 2018 MantisBT Team