all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#31490] [PATCH] gnu: Add emacs-cmake-mode.
@ 2018-05-18 12:27 Oleg Pykhalov
  2018-05-18 13:07 ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Oleg Pykhalov @ 2018-05-18 12:27 UTC (permalink / raw)
  To: 31490

* 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.")))
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-05-22 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-18 12:27 [bug#31490] [PATCH] gnu: Add emacs-cmake-mode Oleg Pykhalov
2018-05-18 13:07 ` Maxim Cournoyer
2018-05-22  5:43   ` Oleg Pykhalov
2018-05-22 13:16     ` Maxim Cournoyer
2018-05-22 14:25       ` bug#31490: " Oleg Pykhalov
2018-05-22 14:40         ` [bug#31490] " Oleg Pykhalov
2018-05-22 15:21         ` Marius Bakke

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.