From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55314) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkI4-00048a-FB for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkI2-0003uw-0w for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:40 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkI1-0003uU-RG for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkI1-0004lS-Np for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:37 -0400 Subject: [bug#40260] [PATCH] gnu: Add emacs-imenu-list. References: <87o8shii4m.fsf@asu.edu> In-Reply-To: <87o8shii4m.fsf@asu.edu> Resent-Message-ID: From: John Soo Date: Sat, 28 Mar 2020 13:59:08 -0700 Message-ID: <87blog42n7.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40260@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix, I realized my previous patch was based on previous work. This one is cherry-picked onto master. Thanks, John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-imenu-list.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-imenu-list >>From 76cbc9f72908ebfef2d0cd00c8d8bbfe928afc06 Mon Sep 17 00:00:00 2001 From: John Soo 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 =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright =C2=A9 2020 John Soo ;;; ;;; 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 Ema= cs 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+))) --=20 2.26.0 --=-=-=--