GNU bug report logs -
#31490
[PATCH] gnu: Add emacs-cmake-mode.
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Fri, 18 May 2018 12:28:01 UTC
Severity: normal
Tags: patch
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
On May 18, 2018 12:27:16 PM UTC, Oleg Pykhalov <go.wigust <at> gmail.com> wrote:
>* gnu/packages/cmake.scm (emacs-cmake-mode): New public variable.
>---
> gnu/packages/cmake.scm | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
>diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
>index e6c5c4e79..eba7a92c0 100644
>--- a/gnu/packages/cmake.scm
>+++ b/gnu/packages/cmake.scm
>@@ -206,3 +206,20 @@ and workspaces that can be used in the compiler
>environment of your choice.")
> (inputs
> `(("rhash" ,rhash)
> ,@(package-inputs cmake)))))
>+
>+(define-public emacs-cmake-mode
>+ (package
>+ (inherit cmake)
>+ (name "emacs-cmake-mode")
>+ (build-system emacs-build-system)
>+ (arguments
>+ `(#:phases
>+ (modify-phases %standard-phases
>+ (add-after 'unpack 'chdir-elisp
>+ ;; Elisp directory is not in root of the source.
>+ (lambda _
>+ (chdir "Auxiliary"))))))
>+ (synopsis "Emacs major mode for editing Cmake expressions")
>+ (description "@code{cmakeos-mode} provides an Emacs major mode for
>editing
>+Cmake files. It supports syntax highlighting, indenting and refilling
>of
>+comments.")))
Thanks for packaging it. Should we delete the Emacs mode files from our cmake package to not have duplication in the store when installing both CMake and emacs-cmake-mode?
I haven't tested it but it LGTM.
Maxim
Hi,
This bug report was last modified 7 years ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.