From patchwork Sun Feb 6 04:58:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 37014 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 D9BAE27BBEA; Sun, 6 Feb 2022 05:04:10 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 6EED627BBE9 for ; Sun, 6 Feb 2022 05:04:10 +0000 (GMT) Received: from localhost ([::1]:42840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGZiV-0000iN-Pp for patchwork@mira.cbaines.net; Sun, 06 Feb 2022 00:04:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGZfm-0000hv-47 for guix-patches@gnu.org; Sun, 06 Feb 2022 00:01:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGZfa-00034k-Jn for guix-patches@gnu.org; Sun, 06 Feb 2022 00:01:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGZfa-0001ma-JO for guix-patches@gnu.org; Sun, 06 Feb 2022 00:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53813] [PATCH] gnu: Add emacs-consult-dir. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53813@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16441236296802 (code B ref -1); Sun, 06 Feb 2022 05:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 05:00:29 +0000 Received: from localhost ([127.0.0.1]:36174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGZf3-0001le-1M for submit@debbugs.gnu.org; Sun, 06 Feb 2022 00:00:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:44824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGZf2-0001lV-F9 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 00:00:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGZf2-0000WY-6C for guix-patches@gnu.org; Sun, 06 Feb 2022 00:00:28 -0500 Received: from [2a00:1450:4864:20::12f] (port=33553 helo=mail-lf1-x12f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGZeu-0002u7-Ua for guix-patches@gnu.org; Sun, 06 Feb 2022 00:00:25 -0500 Received: by mail-lf1-x12f.google.com with SMTP id x23so20737310lfc.0 for ; Sat, 05 Feb 2022 21:00:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=N7ldxbFmZxSvtO4T07X+hXpwYxda1kn5dINaBN16yNQ=; b=Imqyu5BnrWe2/267LFg4Z8pJluhJbV3RWAMKQdEf3bUfEqxTobWlXnRjzR0J/1jGAx Us8WigrYGbK5EOpqCHMnIOGa/i5BfCOrvalHR9RNMxJuZgxuJq2JMXEYxDS0QmVNZ3oZ CbCkiu6wKt5SbuSwIn25VWM/rRi2H3JbrgjAuC2U6r1lv5xaKbw4qv91ecvrUqzUjOH1 8Exu9ccU2gmX3NcH9hD3qqe6a8Lte4Nu0F5SdTryzkUkHiZZyNFVxyyKcoFsdFCZKt+v r44vL96r7l0NhpbCiUkqn3F3Eeu8uIKlpSc9fepQVhtF+DdnafNARucXZjBSV7P96u0/ QZcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=N7ldxbFmZxSvtO4T07X+hXpwYxda1kn5dINaBN16yNQ=; b=3yiTPJqv+l7UnTWdxcRq5tPXOFS4YfnX1c8hv6N8Qo/8PtVEiH5Jcob3AYxauE1Y18 sm+nr8eNvRCCEdgkXqJVZIhmiLDafl8c+rgxAbNtM09veS9sG5s1D60AsTXqU8XWMFfA PRbM0VrZTKJPG9GuNBaZSZ3t2BNW4VcP80tWsmztMz+7nNUxZAwoaRMyU4Y9weR0Ih35 toiLFO3OHt/eb0Cwu2+jUMS9LFCXTDzisTiWbempXMfC6FwDFQeQ9n/WZBS623pjaJSr JmT6B//zApqZDPfOCJgtcfNw5qXbsLdW8fb7VcwSSnjPaO0ABK0tJvFFA5WU7P66JxU9 VG5Q== X-Gm-Message-State: AOAM533VkWTM6xyWUY//mie2361CoRUWsch3aI3WNqa9U0jz/9hpmDhd Ax8J5RsnURkb/trHnXmQZTC0PtNO3YYZtQ== X-Google-Smtp-Source: ABdhPJy+7K8FxBxg/g3K/2nCuUaCa4arCmsBHEo8OsfmU0nsVw9/FN7Y/OMXGVGI1KZYme1kjsCFYg== X-Received: by 2002:a05:6512:318d:: with SMTP id i13mr4526307lfe.535.1644123611364; Sat, 05 Feb 2022 21:00:11 -0800 (PST) Received: from localhost (109-252-135-33.dynamic.spd-mgts.ru. [109.252.135.33]) by smtp.gmail.com with ESMTPSA id j20sm965455lfg.232.2022.02.05.21.00.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 21:00:10 -0800 (PST) From: Andrew Tropin Date: Sun, 6 Feb 2022 07:58:46 +0300 Message-ID: <87v8xs8u94.fsf@trop.in> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12f (failed) Received-SPF: none client-ip=2a00:1450:4864:20::12f; envelope-from=andrew@trop.in; helo=mail-lf1-x12f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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.")))