From patchwork Tue Jun 6 09:20:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 50733 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 1F1BF27BBEA; Tue, 6 Jun 2023 14:50:29 +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,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 7E75527BBE2 for ; Tue, 6 Jun 2023 14:50:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6X4i-0005Fv-Gq; Tue, 06 Jun 2023 09:50:16 -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 1q6X4W-000570-KH for guix-patches@gnu.org; Tue, 06 Jun 2023 09:50:06 -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 1q6X4U-0000mj-W8 for guix-patches@gnu.org; Tue, 06 Jun 2023 09:50:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6X4T-0001aM-Se for guix-patches@gnu.org; Tue, 06 Jun 2023 09:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63924] [PATCH] gnu: Add emacs-pug-mode. Resent-From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Jun 2023 13:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63924 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63924@debbugs.gnu.org Cc: me@mianmoreno.com X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16860593866051 (code B ref -1); Tue, 06 Jun 2023 13:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2023 13:49:46 +0000 Received: from localhost ([127.0.0.1]:51227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6X4B-0001ZR-KS for submit@debbugs.gnu.org; Tue, 06 Jun 2023 09:49:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:37280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Sri-0006kh-0a for submit@debbugs.gnu.org; Tue, 06 Jun 2023 05:20:34 -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 1q6Sre-00028S-Rq for guix-patches@gnu.org; Tue, 06 Jun 2023 05:20:32 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6Srb-00043x-GC for guix-patches@gnu.org; Tue, 06 Jun 2023 05:20:29 -0400 X-GND-Sasl: me@mianmoreno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mianmoreno.com; s=gm1; t=1686043222; 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=UwrzBd6HNesk5RLdX1gAW2rxR27b/2irAjdoXT/KOq4=; b=P2PX67LS4Z07yV3AzMDZiB4nAuWU9JTl/d5Hhdjby29g9HXXvRpTf9z8SuuypTCH6/I//J 2zVDVJt3DrKROssPVXlYKJkrklnxgO3XvUF7Pq5oxkHpctB5dIEtSabELu/r644JzYF1R3 6DvJt67Oagyhbyw9tmD2IbqegJVwAxIZI/Xn7bCu7jcqnGnuiP0OxNNIYwOtgBkW4ngVQz 4wrQPYIgW9aRMJ74zV7v/0GUfQoWbEqVlIMJT164ZyhSGA9OZmSUV9OzBbR7oTq1FmR+fP 2ZTGoJRlOiqYMWBaylBxJHj8o4SUlbtFPkpFyXgXIPZofjgvJt0xhgPMhsxzjg== X-GND-Sasl: me@mianmoreno.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 83B124000D; Tue, 6 Jun 2023 09:20:22 +0000 (UTC) From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno Date: Tue, 06 Jun 2023 11:20:21 +0200 Message-ID: <86y1kxoskq.fsf@mianmoreno.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::222; envelope-from=me@mianmoreno.com; helo=relay2-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 06 Jun 2023 09:49:41 -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 gnu/packages/emacs-xyz.scm (emacs-pug-mode): New variable. --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7575049ea3..dd3749940d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -1118,6 +1118,31 @@ (define-public emacs-puni out of the box.") (license license:gpl3+)))) +(define-public emacs-pug-mode + (package + (name "emacs-pug-mode") + (version "1.0.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hlissner/emacs-pug-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1f6bhdr1a72x94dlz2i1fwwln8crc2mbpc2iq23hvsbsfmj7xfzp")))) + (native-inputs (list emacs-ert-runner)) + (build-system emacs-build-system) + (arguments + (list + #:tests? #t + #:test-command #~(list "ert-runner"))) + (home-page "https://github.com/hlissner/emacs-pug-mode") + (synopsis "Pug support for Emacs") + (description "pug-mode offers Emacs support for Pug. Unlike jade-mode, +it is based off of slim-mode.") + (license license:gpl3+))) + (define-public emacs-spaceline-all-the-icons (package (name "emacs-spaceline-all-the-icons")