[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: Add emacs-highlight-symbol.
From: |
Marius Bakke |
Subject: |
03/03: gnu: Add emacs-highlight-symbol. |
Date: |
Tue, 15 Aug 2017 14:57:58 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 425d66f7a76f17e58b885395df81686abd80f1b9
Author: Oleg Pykhalov <address@hidden>
Date: Sun Aug 13 13:17:02 2017 +0300
gnu: Add emacs-highlight-symbol.
* gnu/packages/emacs.scm (emacs-highlight-symbol): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 5a69990..1728b5b 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2632,6 +2632,38 @@ features found in other packages it also brings many
improvements as
well as completely new features.")
(license license:gpl3+)))
+(define-public emacs-highlight-symbol
+ (package
+ (name "emacs-highlight-symbol")
+ (version "1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/nschum/highlight-symbol.el/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90"))))
+ (build-system emacs-build-system)
+ (home-page "https://nschum.de/src/emacs/highlight-symbol")
+ (synopsis "Automatic and manual symbol highlighting for Emacs")
+ (description
+ "Use @code{highlight-symbol} to toggle highlighting of the symbol at
+point throughout the current buffer. Use @code{highlight-symbol-mode} to keep
+the symbol at point highlighted.
+
+The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev},
address@hidden and
address@hidden allow for cycling through the locations
+of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key
+bindings @code{M-p} and @code{M-p} for navigation. When
address@hidden is set, highlighting is triggered
+regardless of @code{highlight-symbol-idle-delay}.
+
address@hidden can be used to replace the symbol. ")
+ (license license:gpl2+)))
+
(define-public emacs-hl-todo
(package
(name "emacs-hl-todo")