Subject: [bug#66126] [PATCH]: Add emacs-imenu-anywhere

From: André A. Gomes <[email-masked]>
Date: Wed, 20 Sep 2023 21:58:01 +0300

Hi Guix,

Please find the patch attached.  Thanks!

-- 
André A. Gomes
"You cannot even find the ruins..."
>From 292b3df8544846f9dd3e92da7f893bb3de9dd79a Mon Sep 17 00:00:00 2001
From: "Andre A. Gomes" <[email-masked]>
Date: Wed, 20 Sep 2023 21:57:13 +0300
Subject: [PATCH] gnu: Add emacs-imenu-anywhere.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a768322433..78adc40435 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4994,6 +4994,30 @@ (define-public emacs-imenu-list
 window).")
       (license license:gpl3+))))
 
+(define-public emacs-imenu-anywhere
+  (package
+    (name "emacs-imenu-anywhere")
+    (version "1.1.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/vspinu/imenu-anywhere")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0lbwfhcl40ayxskvmsvdrg8p63qp086xpzw61bqk4b3fxndxl04h"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/vspinu/imenu-anywhere")
+    (synopsis
+     "Imenu tag selection across buffers with the same mode/project")
+    (description
+     "This Emacs package provides navigation for imenu tags across all buffers
+that satisfy a filtering criteria. Available criteria are - all buffers with
+the same major mode, same project buffers and user defined list of friendly
+mode buffers.")
+    (license license:gpl3+)))
+
 (define-public emacs-mmm-mode
   (package
     (name "emacs-mmm-mode")
-- 
2.41.0