From patchwork Tue Dec 27 07:13:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 45596 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 9F87B27BBE9; Tue, 27 Dec 2022 07:14:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 72F0727BBEB for ; Tue, 27 Dec 2022 07:14:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pA4A0-0001mT-Bc; Tue, 27 Dec 2022 02:14:04 -0500 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 1pA49y-0001lV-Lb for guix-patches@gnu.org; Tue, 27 Dec 2022 02:14:02 -0500 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 1pA49y-0005Cw-DV for guix-patches@gnu.org; Tue, 27 Dec 2022 02:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pA49x-00014N-Uw for guix-patches@gnu.org; Tue, 27 Dec 2022 02:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60350] [PATCH] gnu: Add emacs-consult-xdg-recent-files. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Dec 2022 07:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60350@debbugs.gnu.org Cc: ngraves@ngraves.fr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16721252264078 (code B ref -1); Tue, 27 Dec 2022 07:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 07:13:46 +0000 Received: from localhost ([127.0.0.1]:54511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pA49h-00013h-Se for submit@debbugs.gnu.org; Tue, 27 Dec 2022 02:13:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:58020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pA49c-00013U-DI for submit@debbugs.gnu.org; Tue, 27 Dec 2022 02:13:44 -0500 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 1pA49c-0001cu-1z for guix-patches@gnu.org; Tue, 27 Dec 2022 02:13:40 -0500 Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pA49Z-000588-1b for guix-patches@gnu.org; Tue, 27 Dec 2022 02:13:39 -0500 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.4.200]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 77E6623428 for ; Tue, 27 Dec 2022 07:13:24 +0000 (UTC) Received: from ghost-submission-747dc469fd-7kmw5 (unknown [10.110.171.251]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id EF0531FD50; Tue, 27 Dec 2022 07:13:23 +0000 (UTC) Received: from ngraves.fr ([37.59.142.104]) by ghost-submission-747dc469fd-7kmw5 with ESMTPSA id gn6CBBObqmM9LQAAVpS41w (envelope-from ); Tue, 27 Dec 2022 07:13:23 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-104R0051127ed06-ae88-4d06-b3ce-60ee89d730e8, 03FB7C6E9AA156183D99A7E065B6F9F4B37C3F96) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.45.24.108 Date: Tue, 27 Dec 2022 08:13:13 +0100 Message-Id: <20221227071313.9108-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 11174556575592932066 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrheelgddutdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpfeejrdehledrudegvddruddtgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=46.105.56.78; envelope-from=ngraves@ngraves.fr; helo=9.mo576.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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 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-consult-xdg-recent-files): New variable. --- gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8fec7b058f..6906be8b6c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -10345,6 +10345,37 @@ (define-public emacs-eglot-tempel library with Eglot instead of Yasnippet.") (license license:gpl3+)))) +(define-public emacs-consult-xdg-recent-files + (let ((commit "593023ffb99a368152ebd4e739488fa560bdfdea") + (revision "0")) + (package + (name "emacs-consult-xdg-recent-files") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hrehfeld/consult-xdg-recent-files") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nd23n67dmlflw52dc1rbhy04mc9ymydnsmvfr75hqb7sznn3343")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-consult)) + (home-page "https://github.com/hrehfeld/consult-xdg-recent-files") + (synopsis "Include files used by other programs than emacs in consult") + (description + "This packages provides the ability to include files used by other +programs in the candidate lists of commands like @code{consult-recent-file} +and @code{consult-buffer}. This allows to use the same interface for file +opening. + +In Linux (or, more specifically, on systems that comply with the XDG +specification), these files are listed in the file @code{recently-used.xbel}, +which is found in the directory @code{~/.local/share} or the location +described by the environment variable @code{XDG_DATA_HOME}.") + (license license:gpl3+)))) + (define-public emacs-consult-yasnippet (let ((commit "ae0450889484f23dc4ec37518852a2c61b89f184") (revision "0"))