From patchwork Tue Apr 18 17:05:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Juliana Sims X-Patchwork-Id: 49292 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 3611D179B3; Tue, 18 Apr 2023 19:21:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_FMBLA_NEWDOM28,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 25C6A1758E for ; Tue, 18 Apr 2023 19:21:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1popww-0001Hg-1t; Tue, 18 Apr 2023 14:21:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1popws-0001Fr-Nv for guix-patches@gnu.org; Tue, 18 Apr 2023 14:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1popws-0007tg-FE for guix-patches@gnu.org; Tue, 18 Apr 2023 14:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1popws-0000VB-9u; Tue, 18 Apr 2023 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62921] [PATCH v2] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode. References: <20230418033754.11120-1-juli@incana.org> In-Reply-To: <20230418033754.11120-1-juli@incana.org> Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62921 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62921@debbugs.gnu.org Cc: Juliana Sims , liliana.prikler@gmail.com X-Debbugs-Original-Xcc: liliana.prikler@gmail.com Received: via spool by 62921-submit@debbugs.gnu.org id=B62921.16818420201841 (code B ref 62921); Tue, 18 Apr 2023 18:21:02 +0000 Received: (at 62921) by debbugs.gnu.org; 18 Apr 2023 18:20:20 +0000 Received: from localhost ([127.0.0.1]:60363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1popwB-0000TW-0u for submit@debbugs.gnu.org; Tue, 18 Apr 2023 14:20:20 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poomd-0004UV-NY for 62921@debbugs.gnu.org; Tue, 18 Apr 2023 13:06:25 -0400 Received: (Authenticated sender: juli@incana.org) by mail.gandi.net (Postfix) with ESMTPSA id 5D332C0005; Tue, 18 Apr 2023 17:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incana.org; s=gm1; t=1681837576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HlgDzWv6Bwfe6OSl0kiE97t7PNSuhYL61yOLVRF7VR8=; b=Dekn+1s6MNq5ufP2h9MC2z7Jnj8OU8DnNar1Vp4wXInF1ptW+eZdT+7vBYPI3UNjOMaoHw NOzLfjZ6aZ/QvZT9eN5QS+//eRzL5cnNH/dXOWJJMHb9HYYgkUiNY6GHLFZTaGHT2FtwPw k4leZ4ZxQh3DzgBb10xCwTPVKvcm0zruiD327VZDs0zwjYoCKU4xARyaBAuqKlOl6HyzFk ahlORszdbkIIsXBccjK0k27JfWWQ70JW7FwygQHxoG0TYM70u7RiOytrp/Qba8FK27OIao kLYVXj8WvskZaMSgL8U6JCuv7pP+TXWJY5+eZRg5Ue0MxSyWkRXQxawdglEzGA== From: Juliana Sims Date: Tue, 18 Apr 2023 13:05:32 -0400 Message-Id: <20230418170532.12903-1-juli@incana.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 18 Apr 2023 14:20:17 -0400 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, > Maybe the whole package should inherit from `gerbil' package so version, > source, home-page and license are already set in the parent. WDYT? I think that's a great idea! This version of the patch does that and also sets this package version to 1.0. Thanks, Juli ---------BEGIN-PATCH--------- * gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode. --- gnu/packages/emacs-xyz.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) base-commit: 286cdf0bc55a29d5a63f7191edde7ea4dbd8cf2a diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6618aac332..9699fa6f32 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -125,6 +125,7 @@ ;;; Copyright © 2022 Demis Balbach ;;; Copyright © 2020, 2021, 2022, 2023 Andrew Tropin ;;; Copyright © 2023 Dominik Delgado Steuter +;;; Copyright © 2023 Juliana Sims ;;; ;;; This file is part of GNU Guix. ;;; @@ -36015,6 +36016,22 @@ (define-public emacs-fennel-mode Fennel code within Emacs.") (license license:gpl3+)))) +(define-public emacs-gerbil-mode + (package + (inherit gerbil) + (name "emacs-gerbil-mode") + (version "1.0") + (build-system emacs-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'install 'change-directory + (lambda _ + (chdir "etc")))))) + (synopsis "Emacs major-mode for editing Gerbil code") + (description + "Gerbil mode provides font-lock, indentation, navigation, and REPL for +Gerbil code within Emacs."))) + (define-public emacs-org-modern (package (name "emacs-org-modern")