GNU bug report logs - #45757
[PATCH] gnu: Add emacs-consult

Previous Next

Package: guix-patches;

Reported by: Brit Butler <brit <at> kingcons.io>

Date: Sun, 10 Jan 2021 06:27:03 UTC

Severity: normal

Tags: patch

Done: Leo Prikler <leo.prikler <at> student.tugraz.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45757 in the body.
You can then email your comments to 45757 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#45757; Package guix-patches. (Sun, 10 Jan 2021 06:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brit Butler <brit <at> kingcons.io>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 10 Jan 2021 06:27:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brit Butler <brit <at> kingcons.io>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add emacs-consult
Date: Sun, 10 Jan 2021 04:27:55 GMT
[Message part 1 (text/plain, inline)]
Hello there,

Have found this library handy and thought I'd submit a package for
it. First time making a Guix package so please let me know if I missed
anything.

Regards,
Brit

[0001-gnu-Add-emacs-consult.patch (text/plain, inline)]
From 9e89f4b50b6402252b17d2f14148b68d552c9fe5 Mon Sep 17 00:00:00 2001
From: Brit Butler <brit <at> kingcons.io>
Date: Sat, 9 Jan 2021 23:18:04 -0500
Subject: [PATCH] gnu: Add emacs-consult.

* gnu/packages/emacs-xyz.scm (emacs-consult): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c86452fe2b..8826c490fb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -89,6 +89,7 @@
 ;;; Copyright © 2020 André A. Gomes <andremegafone <at> gmail.com>
 ;;; Copyright © 2020 Jonathan Rostran <rostranjj <at> gmail.com>
 ;;; Copyright © 2020 Noah Evans <noah <at> nevans.me>
+;;; Copyright © 2020 Brit Butler <brit <at> kingcons.io>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6983,6 +6984,33 @@ any one of several ways: literally, as a regexp, as an initialism, in the flex
 style, or as multiple word prefixes.")
     (license license:gpl3+)))
 
+(define-public emacs-consult
+  ;; There are no tagged releases upstream on GitHub, instead we are using the
+  ;; most recent commit.
+  (let ((commit "ef6bb73a4a46e686826968fa25169e2d59b9a087")
+        (revision "0"))
+    (package
+      (name "emacs-consult")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/minad/consult")
+               (commit commit)))
+         (sha256
+          (base32 "00cnwg2knd820wwx6zg71rr0whpdhqm64gm3qx1mgklk79g7daih"))
+         (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-flycheck" ,emacs-flycheck)
+                           ("emacs-selectrum" ,emacs-selectrum)))
+      (home-page "https://github.com/minad/consult")
+      (synopsis "Consulting completing-read")
+      (description "This package provides various handy commands based on the
+Emacs completion function completing-read, which allows to quickly select from a
+list of candidates.")
+      (license gpl3+))))
+
 (define-public emacs-smartparens
   (package
     (name "emacs-smartparens")
-- 
2.30.0


Information forwarded to guix-patches <at> gnu.org:
bug#45757; Package guix-patches. (Sun, 10 Jan 2021 15:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 45757 <at> debbugs.gnu.org (full text, mbox):

From: Brit Butler <brit <at> kingcons.io>
To: 45757 <at> debbugs.gnu.org
Subject: [PATCH] Add emacs-consult.
Date: Sun, 10 Jan 2021 15:03:46 GMT
[Message part 1 (text/plain, inline)]
Good Morning,

I realized I made an error in the license field of my patch last night
transferring it from a solo file into guix/.../emacs-xyz.scm. Apologies!

Corrected patch is below.

Regards,
Brit

[0001-gnu-Add-emacs-consult.patch (text/plain, attachment)]

Reply sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
You have taken responsibility. (Mon, 11 Jan 2021 20:29:02 GMT) Full text and rfc822 format available.

Notification sent to Brit Butler <brit <at> kingcons.io>:
bug acknowledged by developer. (Mon, 11 Jan 2021 20:29:02 GMT) Full text and rfc822 format available.

Message #13 received at 45757-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: brit <at> kingcons.io
Cc: 45757-done <at> debbugs.gnu.org
Subject: [bug#45757] [PATCH] Add emacs-consult.
Date: Mon, 11 Jan 2021 21:28:48 +0100
Pushed, thanks!

Leo.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Feb 2021 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.