unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: 53813@debbugs.gnu.org
Subject: [bug#53813] [PATCH] gnu: Add emacs-consult-dir.
Date: Sun, 6 Feb 2022 07:58:46 +0300	[thread overview]
Message-ID: <87v8xs8u94.fsf@trop.in> (raw)

[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]


* gnu/packages/emacs-xyz.scm (emacs-consult-dir): 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 444b761116..6bdfb8de04 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30090,3 +30090,28 @@ (define-public emacs-fennel-mode
      "Fennel mode provides font-lock, indentation, navigation, and REPL for
  Fennel code within Emacs.")
     (license license:gpl3+)))
+
+(define-public emacs-consult-dir
+  (package
+   (name "emacs-consult-dir")
+   (version "0.1")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/karthink/consult-dir")
+                  (commit (string-append "v" version))))
+            (sha256
+             (base32 "1cff4ssrn1mw2s5n090pdmwdirnfih8idg5f0ll2bi2djc4hq5kn"))
+            (file-name (git-file-name name version))))
+   (build-system emacs-build-system)
+   (license license:gpl3+)
+   (propagated-inputs (list emacs-consult))
+   (home-page "https://github.com/karthink/consult-dir")
+   (synopsis "Insert paths into minibuffer prompts in Emacs")
+   (description "Consult-dir allows you to easily insert directory
+paths into the minibuffer prompt in Emacs.
+
+When using the minibuffer, you can switch - with completion and
+filtering provided by your completion setup - to any directory you’ve
+visited recently, or to a project or bookmarked directory. The
+minibuffer prompt will be replaced with the directory you choose.")))
-- 
2.34.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

             reply	other threads:[~2022-02-06  5:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-06  4:58 Andrew Tropin [this message]
2022-02-06  9:46 ` [bug#53813] [PATCH] gnu: Add emacs-consult-dir Maxime Devos
2022-02-06 22:13 ` bug#53813: " Nicolas Goaziou
     [not found] ` <handler.53813.D53813.164418561927497.notifdone@debbugs.gnu.org>
2022-02-07 15:12   ` [bug#53813] closed (Re: [bug#53813] [PATCH] gnu: Add emacs-consult-dir.) Andrew Tropin

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=87v8xs8u94.fsf@trop.in \
    --to=andrew@trop.in \
    --cc=53813@debbugs.gnu.org \
    /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).