From patchwork Tue Aug 2 12:55:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 4158 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 D825C27BBEA; Tue, 2 Aug 2022 13:56:54 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 9A72527BBE9 for ; Tue, 2 Aug 2022 13:56:54 +0100 (BST) Received: from localhost ([::1]:42510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIrS9-0003DN-PH for patchwork@mira.cbaines.net; Tue, 02 Aug 2022 08:56:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIrRQ-0003As-5o for guix-patches@gnu.org; Tue, 02 Aug 2022 08:56:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIrRK-0007eO-8f for guix-patches@gnu.org; Tue, 02 Aug 2022 08:56:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIrRJ-00038l-U0 for guix-patches@gnu.org; Tue, 02 Aug 2022 08:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56881] [PATCH v2] gnu: Add emacs-consult-yasnippet. References: <20220802113957.29792-1-ngraves@ngraves.fr> In-Reply-To: <20220802113957.29792-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Aug 2022 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56881 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56881@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 56881-submit@debbugs.gnu.org id=B56881.165944493612037 (code B ref 56881); Tue, 02 Aug 2022 12:56:01 +0000 Received: (at 56881) by debbugs.gnu.org; 2 Aug 2022 12:55:36 +0000 Received: from localhost ([127.0.0.1]:42807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIrQu-000385-4i for submit@debbugs.gnu.org; Tue, 02 Aug 2022 08:55:36 -0400 Received: from 2.mo560.mail-out.ovh.net ([188.165.53.149]:37509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIrQq-00037u-6x for 56881@debbugs.gnu.org; Tue, 02 Aug 2022 08:55:34 -0400 Received: from player699.ha.ovh.net (unknown [10.110.115.231]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 35C3A23095 for <56881@debbugs.gnu.org>; Tue, 2 Aug 2022 12:55:29 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player699.ha.ovh.net (Postfix) with ESMTPSA id 5DA322D2D0E17; Tue, 2 Aug 2022 12:55:26 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-100R0030cd377be-a2e6-4b56-af7b-a9ec5ee3b7b0, EA2E9E1D3681ECCA0588C5F007203F4C67B2F225) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 176.166.159.77 Date: Tue, 2 Aug 2022 14:55:02 +0200 Message-Id: <20220802125502.22025-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 2215771019587936994 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvhedgheejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheileelrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheeikeekudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitd 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-consult-yasnippet): New variable. --- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 702378c206..408aaf57d2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9154,6 +9154,32 @@ (define-public emacs-consult-eglot call.") (license license:gpl3+))) +(define-public emacs-consult-yasnippet + (let ((commit "ae0450889484f23dc4ec37518852a2c61b89f184") + (revision "0")) + (package + (name "emacs-consult-yasnippet") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mohkale/consult-yasnippet") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13hmmsnmh32vafws61sckzzy354rq0nslqpyzhw97iwvn0fpsa35")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-consult emacs-yasnippet)) + (home-page "https://github.com/mohkale/consult-yasnippet") + (synopsis "Consulting-read interface for yasnippet") + (description + "This package allows you to expand @code{emacs-yasnippet} snippets +through a completing-read interface. It supports previewing the current +snippet expansion and overwriting the marked region with a new snippet +completion.") + (license license:gpl3+)))) + (define-public emacs-marginalia (package (name "emacs-marginalia")