summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAnderson Torres <anderson.torres.8519@gmail.com>2025-05-29 23:01:02 -0300
committerHilton Chain <hako@ultrarare.space>2025-06-02 12:09:36 +0800
commitf7b715bc4f9cf8e1cf46f55ee758bb171f14330a (patch)
tree50b2888bf603b66e4d7fd3931050462ff84bd8f7 /gnu/packages
parentd7247296be832581361755110aae382ae3c872ba (diff)
gnu: Add emacs-xhair
* gnu/packages/emacs-xyz.scm (emacs-xhair): New variable. Signed-off-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 270188a6605..7dbb6027854 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1365,6 +1365,36 @@ position. It enhances text editing by visually indicating the vertical
line.")
(license license:gpl2+))))
+(define-public emacs-xhair
+ (let ((commit "c7bd7c501c3545aa99dadac386c882fe7c5edd9c")
+ (revision "0"))
+ (package
+ (name "emacs-xhair")
+ ;; No tag, version comes from source code
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Boruch-Baum/emacs-xhair")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03m15lbspk73x59wvb77wgvnkrmrlq4w6kmnrr2i69jgafqh0421"))))
+ (build-system emacs-build-system)
+ (arguments
+ ;; No tests
+ (list #:tests? #f))
+ (propagated-inputs (list emacs-vline))
+ (home-page "https://github.com/Boruch-Baum/emacs-xhair")
+ (synopsis "Highlight the current line and column")
+ (description
+ "This package simultaneously applies @code{vline-mode} and
+@code{hl-line-mode}, with tweaks, to present @code{point} in highlighted
+cross-hairs, reporting the value of @code{point} as a message in the echo
+area.")
+ (license license:gpl3+))))
+
(define-public emacs-vlf
(package
(name "emacs-vlf")