GNU bug report logs - #41717
[PATCH] gnu: Add emacs-meson-mode.

Previous Next

Package: guix-patches;

Reported by: Fredrik Salomonsson <plattfot <at> gmail.com>

Date: Thu, 4 Jun 2020 19:43:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41717 in the body.
You can then email your comments to 41717 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#41717; Package guix-patches. (Thu, 04 Jun 2020 19:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fredrik Salomonsson <plattfot <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 04 Jun 2020 19:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Fredrik Salomonsson <plattfot <at> gmail.com>
Subject: [PATCH] gnu: Add emacs-meson-mode.
Date: Thu,  4 Jun 2020 12:42:30 -0700
* 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





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 04 Jun 2020 20:18:02 GMT) Full text and rfc822 format available.

Notification sent to Fredrik Salomonsson <plattfot <at> gmail.com>:
bug acknowledged by developer. (Thu, 04 Jun 2020 20:18:02 GMT) Full text and rfc822 format available.

Message #10 received at 41717-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Fredrik Salomonsson <plattfot <at> gmail.com>
Cc: 41717-done <at> debbugs.gnu.org
Subject: Re: [bug#41717] [PATCH] gnu: Add emacs-meson-mode.
Date: Thu, 04 Jun 2020 22:17:31 +0200
Hello,

Fredrik Salomonsson <plattfot <at> gmail.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-meson-mode): New variable.

Applied with the change below. Thank you.

> +    (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
> +")

I removed the last sentences, from "To start completion…", which belong
more to a manual than a package description.

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 03 Jul 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.