From 640309cbd1da5a6915d6c68c9e42d81858cceffc Mon Sep 17 00:00:00 2001 From: Liam Hupfer Date: Sun, 17 Aug 2025 12:29:11 -0500 Subject: [PATCH] gnu: Add emacs-form-feed-st. * gnu/packages/emacs-xyz.scm (emacs-form-feed-st): New variable. Change-Id: I8411f119c6074bc18f4a263d38037e8e2d7feeee Signed-off-by: Cayetano Santos --- gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 28d1c6a70ac239ed29753a99fa27040dd591350e..befca5cc9def03e74580b15bef0c3b6922d47374 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6750,6 +6750,35 @@ lines spanning the entire window. The minor mode is suitable for inclusion into mode hooks and is intended to be used that way.") (license license:gpl3+))) +(define-public emacs-form-feed-st + (let ((commit "f91c8daf35b7588e0aa24c8716c8cfd8ff0067c8") + (revision "0")) + (package + (name "emacs-form-feed-st") + (version (git-version "0.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leodag/form-feed-st") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wj7icy2nj2kc1ayzgmrnn3slcw1ws6l9m89yr8h8j7wyrcnhkxz")))) + (build-system emacs-build-system) + (arguments (list #:tests? #f)) ; No tests. + (home-page "https://github.com/leodag/form-feed-st") + (synopsis "Display ^L glyphs as full-width horizontal lines") + (description + "This package provides a minor mode to displays page delimiters which +usually appear as ^L glyphs on a single line as horizontal lines spanning the +entire window. In comparison to @code{emacs-form-feed}, this fork does not +have configurable line width; however, it always displays correctly, even if +you have multiple windows showing the same buffer, and will never cause side +scrolling since the form feed only occupies two spaces. It also only affects +form feeds at the beginning of the line.") + (license license:gpl3+)))) + (define-public emacs-xcscope (let ((commit "d228d7593d762e457340f678d14b663ef66d7cee") (revision "0"))