Subject: bug#43266: closed (Re: [bug#43266] [PATCH] gnu: Add emacs-gdscript-mode.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 08 Sep 2020 11:53:02 +0000

Your bug report

#43266: [PATCH] gnu: Add emacs-gdscript-mode.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43266: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43266
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43266] [PATCH] gnu: Add emacs-gdscript-mode.
From: Nicolas Goaziou <[email-masked]>
To: Vinicius Monego <[email-masked]>
Cc: [email-masked]
Date: Tue, 08 Sep 2020 13:51:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Vinicius Monego <[email-masked]> writes:

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

I shortened the synopsis and the description and applied your patch.
Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-gdscript-mode.
From: Vinicius Monego <[email-masked]>
To: [email-masked]
Cc: Vinicius Monego <[email-masked]>
Date: Mon, 7 Sep 2020 17:22:17 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 053ea57298..2b6f4eee65 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3208,6 +3208,43 @@ project.
 This package also includes relevant snippets for yasnippet.")
       (license license:expat))))
 
+(define-public emacs-gdscript-mode
+  (package
+    (name "emacs-gdscript-mode")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/godotengine/emacs-gdscript-mode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "02by4bvdayldbjlz6jkp36m5rgcy2h5bwhqx2cj7wma6xf6cw3lf"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/godotengine/emacs-gdscript-mode")
+    (synopsis "Emacs package to get GDScript support and syntax highlighting")
+    (description
+     "This package adds support for the GDScript programming language from the
+Godot game engine in Emacs.
+
+This mode already features all the essentials:
+
+@itemize
+@item Syntax highlighting.
+@item Code folding.
+@item Imenu.
+@item Support for scenes (@file{.tscn}) and script (@file{.gd}) files.
+@item Comment wrapping when using @code{fill-paragraph}.
+@item Indentation and auto-indentation: tab-based (default) and space-based.
+@item Automatic pairing of parentheses, brackets, etc.
+@item Code formatting using @command{gdformat}.
+@item Auto-completion for all the keywords in @file{gdscript-keywords.el}.
+@item Run or open the project and files with Godot.
+@item Browsing the API reference in Emacs.
+@end itemize")
+    (license license:gpl3+)))
+
 (define-public emacs-el-mock
   (package
     (name "emacs-el-mock")
-- 
2.20.1