From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 60350@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#60350] [PATCH] gnu: Add emacs-consult-xdg-recent-files.
Date: Tue, 27 Dec 2022 08:13:13 +0100 [thread overview]
Message-ID: <20221227071313.9108-1-ngraves@ngraves.fr> (raw)
* 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"))
--
2.38.1
next reply other threads:[~2022-12-27 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 7:13 Nicolas Graves via Guix-patches via [this message]
2022-12-28 9:41 ` bug#60350: [PATCH] gnu: Add emacs-consult-xdg-recent-files Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221227071313.9108-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=60350@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).