From: Fredrik Salomonsson <plattfot@gmail.com>
To: 41717@debbugs.gnu.org
Cc: Fredrik Salomonsson <plattfot@gmail.com>
Subject: [bug#41717] [PATCH] gnu: Add emacs-meson-mode.
Date: Thu, 4 Jun 2020 12:42:30 -0700 [thread overview]
Message-ID: <20200604194230.11212-1-plattfot@gmail.com> (raw)
* gnu/packages/emacs-xyz.scm (emacs-meson-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 87797aabcc..4d32b9258a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22671,6 +22671,35 @@ two user-defined directories, as well as using more descriptive names for
files and subdirectories when appropriate.")
(license license:gpl3+)))
+(define-public emacs-meson-mode
+ (package
+ (name "emacs-meson-mode")
+ (version "0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wentasah/meson-mode.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1720b3hpfqd989zrgcns51jbjrv4vzl9di9mccl55vkmkbqzfin0"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/wentasah/meson-mode")
+ (synopsis "Major mode for the Meson build system files")
+ (description
+ "This is an emacs major mode for Meson build system files. Syntax
+highlighting works reliably. Indentation works too, but there are probably
+cases where it breaks. Simple completion is supported via
+@code{completion-at-point}. To start completion, use either @kbd{C-M-i} or
+install completion frameworks such as @code{company}. To enable
+@code{company}, add the following to your @file{init.el}:
+@example
+(add-hook 'meson-mode-hook 'company-mode)
+@end example
+")
+ (license license:gpl3+)))
+
(define-public emacs-message-x
;; Use the latest commit, as there are no tagged releases.
(let ((commit "5524de7bbfdd8749c110f48de5afb024d9f83133")
--
2.26.2
next reply other threads:[~2020-06-04 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-04 19:42 Fredrik Salomonsson [this message]
2020-06-04 20:17 ` bug#41717: [PATCH] gnu: Add emacs-meson-mode Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200604194230.11212-1-plattfot@gmail.com \
--to=plattfot@gmail.com \
--cc=41717@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).