From 00885d3bcf8eb84e1aba7e955499d28c4bc6c576 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 27 Dec 2025 19:53:14 +0800 Subject: [PATCH] gnu: Add emacs-winum. * gnu/packages/emacs-xyz.scm (emacs-winum): New variable. Closes guix/guix#5160 Change-Id: I6fbd6644a8855b9a47c984b0d314deead60c1173 Modified-by: Cayetano Santos Signed-off-by: Cayetano Santos --- gnu/packages/emacs-xyz.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 732ba1cabc0..ee9dd3cc79d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -97,7 +97,7 @@ ;;; Copyright © 2021, 2022 Stefan Reichör ;;; Copyright © 2021, 2022, 2023 Simon Tournier ;;; Copyright © 2021 Eugene Klimov -;;; Copyright © 2021, 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2021, 2024, 2025 Zheng Junjie ;;; Copyright © 2021 David Dashyan ;;; Copyright © 2021 Dhruvin Gandhi ;;; Copyright © 2021 Matthew James Kraai @@ -46950,6 +46950,31 @@ or `header-line-format'. For additional documentation, see info node `(emacs)Window Tool Bar'.") (license license:gpl3+))) +(define-public emacs-winum + (package + (name "emacs-winum") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/deb0ch/winum") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v1qmw3svydk7dlqbcymy1g1bygkfpb2h4b97zdp12xvd8mww9ny")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-dash)) + (home-page "https://github.com/deb0ch/winum") + (arguments (list #:tests? #f)) ; there are no tests + (synopsis + "Navigate windows and frames using numbers") + (description + "This package provides a major mode for navigate windows and frames using +numbers.") + (license license:gpl3+))) + (define-public emacs-tintin-mode (let ((commit "82e71e1db92ee3d94c7d0208bafc5de337193de8") (revision "1"))