GNU bug report logs - #78045
[PATCH 2/2] gnu: Add emacs-xhair.

Previous Next

Package: guix-patches;

Reported by: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>

Date: Thu, 24 Apr 2025 15:51:05 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: 78045 <at> debbugs.gnu.org
Cc: Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>, Andrew Tropin <andrew <at> trop.in>, Cayetano Santos <csantosb <at> inventati.org>, Divya Ranjan Pattanaik <divya <at> subvertising.org>, Hilton Chain <hako <at> ultrarare.space>, Ian Eure <ian <at> retrospec.tv>, Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>, Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: [bug#78045] [PATCH 2/2] gnu: Add emacs-xhair.
Date: Thu, 24 Apr 2025 17:49:24 +0200
* gnu/packages/emacs-xyz.scm (emacs-xhair): New variable.

Change-Id: I6a046eaf50795b515f8800b4da0b73c8de40e33a
---
 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 570d5835a7..f5045b44de 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17188,6 +17188,32 @@ (define-public emacs-vline
 enhances text editing by visually indicating the vertical line.")
     (license license:gpl3+)))
 
+(define-public emacs-xhair
+  (package
+    (name "emacs-xhair")
+    (version "20210801.222")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Boruch-Baum/emacs-xhair.git")
+             (commit "c7bd7c501c3545aa99dadac386c882fe7c5edd9c")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "03m15lbspk73x59wvb77wgvnkrmrlq4w6kmnrr2i69jgafqh0421"))))
+    (build-system emacs-build-system)
+    (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 `vline-mode and `hl-line-mode', with
+tweaks,to present POINT in highlighted cross-hairs, reporting the value of
+POINT as a message in the echo area.  This will remain in effect until toggled
+manually (function `xhair-mode by default), or until the next
+keypress (function `xhair by default), or for a set interval (function
+`xhair-flash by default).")
+    (license license:gpl3+)))
+
 (define-public emacs-ryo-modal
   ;; Package has no release.  Version is extracted from "Version:" keyword in
   ;; main file.
-- 
2.49.0





This bug report was last modified 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.