unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44831] Add emacs-gn-mode
@ 2020-11-23 23:06 Nicolò Balzarotti
       [not found] ` <handler.44831.B.160617280111262.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolò Balzarotti @ 2020-11-23 23:06 UTC (permalink / raw)
  To: 44831

Hi
simple patch that adds emacs-gn-mode, an emacs mode to edit GN files

Thanks, Nicolò




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

* [bug#44831] Acknowledgement (Add emacs-gn-mode)
       [not found] ` <handler.44831.B.160617280111262.ack@debbugs.gnu.org>
@ 2020-11-23 23:08   ` Nicolò Balzarotti
  2020-11-24  8:18     ` bug#44831: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolò Balzarotti @ 2020-11-23 23:08 UTC (permalink / raw)
  To: 44831

[-- Attachment #1: Type: text/plain, Size: 41 bytes --]

And here's the patch I forgot to attach


[-- Attachment #2: 0001-gnu-Add-emacs-gn-mode.patch --]
[-- Type: text/x-patch, Size: 1927 bytes --]

From 3f57b032ca5a91e33fde419c4af1df1806c06998 Mon Sep 17 00:00:00 2001
From: nixo <nicolo@nixo.xyz>
Date: Mon, 23 Nov 2020 23:34:46 +0100
Subject: [PATCH] gnu: Add emacs-gn-mode.

* gnu/packages/emacs-xyz.scm (emacs-gn-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5f49c64bb7..1c9dd48518 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -85,6 +85,7 @@
 ;;; Copyright © 2020 Adam Kandur <rndd@tuta.io>
 ;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
 ;;; Copyright © 2020 Noah Landis <noahlandis@posteo.net>
+;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -10602,6 +10603,27 @@ provides functions to convert hash tables from and to alists and plists.")
 you to deal with multiple log levels.")
     (license license:gpl3+)))
 
+(define-public emacs-gn-mode
+  (package
+    (name "emacs-gn-mode")
+    (version "0.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lashtear/gn-mode")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0dz5kgzbgsssr38z2kg6m915cvfys42ag1k42bsra3la2pixywfx"))))
+    (build-system emacs-build-system)
+    (synopsis "Major-mode for editing GN (ninja generator) config files in Emacs")
+    (description "GN-mode is a major-mode for editing @acronym{GN,Ninja
+Generator} config files in Emacs.  Files of this type (e.g. @file{BUILD.gn} or
+@code{*.gni}) are common in Chromium-derived projects.")
+    (home-page "https://github.com/lashtear/gn-mode")
+    (license license:bsd-3)))
+
 (define-public emacs-gntp
   (package
     (name "emacs-gntp")
-- 
2.29.2


[-- Attachment #3: Type: text/plain, Size: 810 bytes --]


help-debbugs@gnu.org (GNU bug Tracking System) writes:

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 44831@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> -- 
> 44831: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44831
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems

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

* bug#44831: Acknowledgement (Add emacs-gn-mode)
  2020-11-23 23:08   ` [bug#44831] Acknowledgement (Add emacs-gn-mode) Nicolò Balzarotti
@ 2020-11-24  8:18     ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-11-24  8:18 UTC (permalink / raw)
  To: Nicolò Balzarotti; +Cc: 44831-done

Hello,

Nicolò Balzarotti <anothersms@gmail.com> writes:

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

Thank you. I moved the home page, as it is usually located above the
synopsis, slightly tweaked the description, and applied it.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2020-11-24  8:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 23:06 [bug#44831] Add emacs-gn-mode Nicolò Balzarotti
     [not found] ` <handler.44831.B.160617280111262.ack@debbugs.gnu.org>
2020-11-23 23:08   ` [bug#44831] Acknowledgement (Add emacs-gn-mode) Nicolò Balzarotti
2020-11-24  8:18     ` bug#44831: " Nicolas Goaziou

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).