[cmake-developers] [CMake 0014475]: Auto-load cmake-mode in emacs
Mantis Bug Tracker
mantis at public.kitware.com
Thu Oct 10 17:47:30 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14475
======================================================================
Reported By: Orion Poplawski
Assigned To:
======================================================================
Project: CMake
Issue ID: 14475
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-10-10 17:47 EDT
Last Modified: 2013-10-10 17:47 EDT
======================================================================
Summary: Auto-load cmake-mode in emacs
Description:
cmake-mode is not available by default in emacs. This can be done by installing
the following:
;;
;; Setup cmake-mode for autoloading
;;
(autoload 'cmake-mode "cmake-mode" "Major mode for editing CMake listfiles." t)
(setq auto-mode-alist
(append
'(("CMakeLists\\.txt\\'" . cmake-mode))
'(("\\.cmake\\'" . cmake-mode))
auto-mode-alist))
to /usr/share/emacs/site-lisp/site-start.d/cmake-init.el.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-10-10 17:47 Orion PoplawskiNew Issue
======================================================================
More information about the cmake-developers
mailing list