Subject: bug#61355: closed (Re: [bug#61355] [PATCH] gnu: Add emacs-discover.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 11 Feb 2023 08:58:02 +0000

Your bug report

#61355: [PATCH] gnu: Add emacs-discover.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61355: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61355
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#61355] [PATCH] gnu: Add emacs-discover.
From: Nicolas Goaziou <[email-masked]>
To: Cayetano Santos via Guix-patches via <[email-masked]>
Cc: [email-masked], Cayetano Santos <[email-masked]>
Date: Sat, 11 Feb 2023 09:56:56 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Cayetano Santos via Guix-patches via <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-discover): New variable.

Thank you. I applied the patch with the changes below.

> +(define-public emacs-discover
> +  (let ((revision "1")
> +        (commit "7b0044bbb3b3bd5d811fdfb0f5ac6ec8de1239df"))
> +    (package
> +      (name "emacs-discover")
> +      (version (git-version "0.3" revision commit))

I used bare "0.3" release along with its tag instead of the specific
commit you were suggesting. They only differ by one non-code related
commit and plain versions are more readable.

> +       "discover.el adds context menus to commonly-used features in
> Emacs.")

I wrote "Discover" instead of "discover.el".

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-discover.
From: Cayetano Santos <[email-masked]>
To: [email-masked]
Cc: Cayetano Santos <[email-masked]>
Date: Tue, 7 Feb 2023 22:00:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-discover): 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 1efbaaa538..f3b764d8e6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34742,6 +34742,31 @@ (define-public emacs-seeing-is-believing
 current region or entire buffer.")
       (license license:gpl3+))))
 
+(define-public emacs-discover
+  (let ((revision "1")
+        (commit "7b0044bbb3b3bd5d811fdfb0f5ac6ec8de1239df"))
+    (package
+      (name "emacs-discover")
+      (version (git-version "0.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mickeynp/discover.el")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0f7h2rhh37lrs6xclj182li6s1fawv5m8w3hgy6qgm06dam45lka"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-makey))
+      (home-page "https://github.com/mickeynp/discover.el")
+      (synopsis "Discover more of Emacs using context menus")
+      (description
+       "discover.el adds context menus to commonly-used features in Emacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-nasm-mode
   (package
     (name "emacs-nasm-mode")

base-commit: 09c6de44127f886ed91738ba9d5b8cce3102bcb3
-- 
2.39.1