guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53471] [PATCH] gnu: Add emacs-minimap.


From: Brandon Lucas
Subject: [bug#53471] [PATCH] gnu: Add emacs-minimap.
Date: Sun, 23 Jan 2022 13:32:25 +0000

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8edbfc5a3d..2ce2b6070b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26678,6 +26678,36 @@ (define-public emacs-minibuffer-line
 variable and the @code{minibuffer-line} face.")
     (license license:gpl3+)))

+(define-public emacs-minimap
+  (package
+    (name "emacs-minimap")
+    (version "1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://elpa.gnu.org/packages/minimap-";
+             version
+             ".el"))
+       (sha256
+        (base32 "09fm0ziy8cdzzw08l7l6p63dxz2a27p3laia2v51mvbva8177ls1"))))
+    (build-system emacs-build-system)
+    (home-page "http://elpa.gnu.org/packages/minimap.html";)
+    (synopsis "Sidebar showing a 'mini-map' of a buffer")
+    (description
+     "Minimap provides Emacs with a minimap sidebar, which is a
+ smaller display of the current buffer on the side, like a scrollbar.  It
+ highlights the currently shown region and updates its position automatically.
+ You can navigate in the minibar by dragging the active region with the mouse,
+ which will scroll the corresponding edit buffer.
+ Additionally, you can overlay information from the tags gathered by CEDET's
+ semantic analyzer.
+
+ Use M-x minimap-mode to toggle activation of the minimap.
+ Use 'M-x customize-group RET minimap RET' to adapt minimap to your
+ needs.")
+    (license license:gpl3+)))
+
 (define-public emacs-eshell-prompt-extras
   (package
     (name "emacs-eshell-prompt-extras")
--
2.34.0







reply via email to

[Prev in Thread] Current Thread [Next in Thread]