From patchwork Mon Sep 7 20:22:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23945 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C3EFA27BBE8; Mon, 7 Sep 2020 21:24:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 86D1727BBE7 for ; Mon, 7 Sep 2020 21:24:09 +0100 (BST) Received: from localhost ([::1]:33056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNgO-00078t-Mn for patchwork@mira.cbaines.net; Mon, 07 Sep 2020 16:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNgI-00078V-QQ for guix-patches@gnu.org; Mon, 07 Sep 2020 16:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNgI-0002GF-He for guix-patches@gnu.org; Mon, 07 Sep 2020 16:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFNgI-00070t-EW for guix-patches@gnu.org; Mon, 07 Sep 2020 16:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43266] [PATCH] gnu: Add emacs-gdscript-mode. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Sep 2020 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43266@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159951019026882 (code B ref -1); Mon, 07 Sep 2020 20:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2020 20:23:10 +0000 Received: from localhost ([127.0.0.1]:50981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFNfR-0006zW-P5 for submit@debbugs.gnu.org; Mon, 07 Sep 2020 16:23:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:54096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFNfQ-0006zP-4L for submit@debbugs.gnu.org; Mon, 07 Sep 2020 16:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNfP-0006L8-U4 for guix-patches@gnu.org; Mon, 07 Sep 2020 16:23:07 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNfN-00029s-Ju for guix-patches@gnu.org; Mon, 07 Sep 2020 16:23:07 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 79FFC16005F for ; Mon, 7 Sep 2020 22:23:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599510182; bh=07XTQdjMVndm7ze7cumSftNjHvTfC+j0nfd3JIGalIk=; h=From:To:Cc:Subject:Date:From; b=jgY9tvkdyZqt1pAyDJHbTdJBkktf2r2dovpdy9DRqUUApEGNuDPqx3lEPnuMBkLhG Sg18CDXwb4mrwLizA8aa4uyaelVl6WDgLpJZ0X2IkWQurN5Lhyc6IQ07mqWNlJbLd8 F941Wum0S/3apuOcongxqs1CUjENMTsNGlOIRPeCe6BKzuU9C/h73hlU6OzivvItsb QzxzcBMhqciPOYXUPqT8PvJw7eJQPQOP4AwvTnT4Fg9ZdURjnBoSOIAW6fy9BnXlli +AGNOU7cSzF1OPmndCEtbFmyB6MLwVx5HQwlDQLoegnOEPcLcCJut0sMO0tIJ8Sj7p +FcnZlHQz/7pA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Blfq83nKlz6tm5; Mon, 7 Sep 2020 22:23:00 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Sep 2020 17:22:17 -0300 Message-Id: <20200907202217.13929-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/07 11:54:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")