diff options
| author | Anderson Torres <anderson.torres.8519@gmail.com> | 2025-05-29 23:01:02 -0300 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-06-02 12:09:36 +0800 |
| commit | f7b715bc4f9cf8e1cf46f55ee758bb171f14330a (patch) | |
| tree | 50b2888bf603b66e4d7fd3931050462ff84bd8f7 /gnu | |
| parent | d7247296be832581361755110aae382ae3c872ba (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')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 30 |
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 | |||
| 1365 | line.") | 1365 | line.") |
| 1366 | (license license:gpl2+)))) | 1366 | (license license:gpl2+)))) |
| 1367 | 1367 | ||
| 1368 | (define-public emacs-xhair | ||
| 1369 | (let ((commit "c7bd7c501c3545aa99dadac386c882fe7c5edd9c") | ||
| 1370 | (revision "0")) | ||
| 1371 | (package | ||
| 1372 | (name "emacs-xhair") | ||
| 1373 | ;; No tag, version comes from source code | ||
| 1374 | (version (git-version "1.0" revision commit)) | ||
| 1375 | (source | ||
| 1376 | (origin | ||
| 1377 | (method git-fetch) | ||
| 1378 | (uri (git-reference | ||
| 1379 | (url "https://github.com/Boruch-Baum/emacs-xhair") | ||
| 1380 | (commit commit))) | ||
| 1381 | (file-name (git-file-name name version)) | ||
| 1382 | (sha256 | ||
| 1383 | (base32 "03m15lbspk73x59wvb77wgvnkrmrlq4w6kmnrr2i69jgafqh0421")))) | ||
| 1384 | (build-system emacs-build-system) | ||
| 1385 | (arguments | ||
| 1386 | ;; No tests | ||
| 1387 | (list #:tests? #f)) | ||
| 1388 | (propagated-inputs (list emacs-vline)) | ||
| 1389 | (home-page "https://github.com/Boruch-Baum/emacs-xhair") | ||
| 1390 | (synopsis "Highlight the current line and column") | ||
| 1391 | (description | ||
| 1392 | "This package simultaneously applies @code{vline-mode} and | ||
| 1393 | @code{hl-line-mode}, with tweaks, to present @code{point} in highlighted | ||
| 1394 | cross-hairs, reporting the value of @code{point} as a message in the echo | ||
| 1395 | area.") | ||
| 1396 | (license license:gpl3+)))) | ||
| 1397 | |||
| 1368 | (define-public emacs-vlf | 1398 | (define-public emacs-vlf |
| 1369 | (package | 1399 | (package |
| 1370 | (name "emacs-vlf") | 1400 | (name "emacs-vlf") |
