Bug 1017779

Summary: the cmake emacs mode is not activated
Product: [Fedora] Fedora Reporter: ycollet <ycollette.nospam>
Component: cmakeAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jreznik, ltinkl, orion, pertusus, pmachata, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cmake-2.8.12-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-31 02:58:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ycollet 2013-10-10 13:39:00 UTC
When I open a CMakeFiles.txt in emacs, it is not colorize by default.
There is no available menu in emacs to activate the cmake mode

The emacs mode is installed in two places:

/usr/share/emacs/site-lisp/cmake/cmake-mode.el
/usr/share/cmake/editors/emacs/cmake-mode.el


I needed to add some piece of code into my .emacs file:

; Add cmake listfile names to the mode list.
(setq auto-mode-alist
          (append
           '(("CMakeLists\\.txt\\'" . cmake-mode))
           '(("\\.cmake\\'" . cmake-mode))
           auto-mode-alist))

(autoload 'cmake-mode "/usr/share/cmake/editors/emacs/cmake-mode.el" t)

Comment 1 Fedora Update System 2013-10-10 22:58:54 UTC
cmake-2.8.12-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cmake-2.8.12-2.fc19

Comment 2 Fedora Update System 2013-10-11 02:29:34 UTC
Package cmake-2.8.12-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cmake-2.8.12-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18792/cmake-2.8.12-2.fc19
then log in and leave karma (feedback).

Comment 3 ycollet 2013-10-11 06:02:24 UTC
Thanks a lot, I will wait for the update.

YC

Comment 4 Fedora Update System 2013-10-31 02:58:35 UTC
cmake-2.8.12-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.