* [bug#40260] [PATCH] gnu: Add imenu-list.
@ 2020-03-27 21:48 John Soo
2020-03-28 20:59 ` [bug#40260] [PATCH] gnu: Add emacs-imenu-list John Soo
0 siblings, 1 reply; 3+ messages in thread
From: John Soo @ 2020-03-27 21:48 UTC (permalink / raw)
To: 40260
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
Hi Guix!
Imenu-list mode provides an overview of the imenu listings for a buffer
in a split pane with configurable rules and linking built in.
Thanks,
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add emacs-imenu-list. --]
[-- Type: text/x-patch, Size: 1590 bytes --]
From 82639ceb6aa28c9bbbdb921e27bfd9a58c358ecd Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 09:35:26 -0700
Subject: [PATCH] gnu: Add emacs-imenu-list.
* gnu/packages/emacs-xyz.scm (emacs-imenu-list): New variable.
---
gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5cc3334aab..fea4f6dc49 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21865,3 +21865,29 @@ conventions.")
"Use C-h, C-j, C-k and C-l to navigate between emacs windows and tmux
panes.")
(license license:expat)))
+
+(define-public emacs-imenu-list
+ (package
+ (name "emacs-imenu-list")
+ (version "0.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/bmag/imenu-list")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "13xh9bdl3k6ccfq83wjmkpi4269qahv4davki4wq18dr4amrzhlx"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/bmag/imenu-list")
+ (synopsis
+ "Automatically tracks the current buffer's imenu entries")
+ (description
+ "This Emacs minor-mode creates an automatically updated buffer called
+*Ilist* that is populated with the current buffer's imenu entries. The
+*Ilist* buffer is typically shown as a sidebar (Emacs vertically splits the
+window).")
+ (license license:gpl3+)))
--
2.26.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#40260] [PATCH] gnu: Add emacs-imenu-list.
2020-03-27 21:48 [bug#40260] [PATCH] gnu: Add imenu-list John Soo
@ 2020-03-28 20:59 ` John Soo
2020-04-01 8:37 ` bug#40260: " Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: John Soo @ 2020-03-28 20:59 UTC (permalink / raw)
To: 40260
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
Hi Guix,
I realized my previous patch was based on previous work.
This one is cherry-picked onto master.
Thanks,
John
[-- Attachment #2: add emacs-imenu-list --]
[-- Type: text/x-patch, Size: 2011 bytes --]
>From 76cbc9f72908ebfef2d0cd00c8d8bbfe928afc06 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 09:35:26 -0700
Subject: [PATCH] gnu: Add emacs-imenu-list.
* gnu/packages/emacs-xyz.scm (emacs-imenu-list): New variable.
---
gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 86033fd200..e2ee5029c7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -65,6 +65,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 6033fe7de85d <6033fe7de85d@airmail.cc>
+;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21774,3 +21775,29 @@ enables modal editing and composition of commands, too. It combines ideas of
other Editors like Vim or Kakoune and tries to align them with regular Emacs
conventions.")
(license license:gpl3+)))
+
+(define-public emacs-imenu-list
+ (package
+ (name "emacs-imenu-list")
+ (version "0.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/bmag/imenu-list")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "13xh9bdl3k6ccfq83wjmkpi4269qahv4davki4wq18dr4amrzhlx"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/bmag/imenu-list")
+ (synopsis
+ "Automatically tracks the current buffer's imenu entries")
+ (description
+ "This Emacs minor-mode creates an automatically updated buffer called
+*Ilist* that is populated with the current buffer's imenu entries. The
+*Ilist* buffer is typically shown as a sidebar (Emacs vertically splits the
+window).")
+ (license license:gpl3+)))
--
2.26.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#40260: [PATCH] gnu: Add emacs-imenu-list.
2020-03-28 20:59 ` [bug#40260] [PATCH] gnu: Add emacs-imenu-list John Soo
@ 2020-04-01 8:37 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-04-01 8:37 UTC (permalink / raw)
To: John Soo; +Cc: 40260-done
Hello,
John Soo <jsoo1@asu.edu> writes:
> Subject: [PATCH] gnu: Add emacs-imenu-list.
>
> * gnu/packages/emacs-xyz.scm (emacs-imenu-list): New variable.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-01 8:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-27 21:48 [bug#40260] [PATCH] gnu: Add imenu-list John Soo
2020-03-28 20:59 ` [bug#40260] [PATCH] gnu: Add emacs-imenu-list John Soo
2020-04-01 8:37 ` bug#40260: " Nicolas Goaziou
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).