From ed042737f96fd76e572d2eee6f1d30ac7d4228e0 Mon Sep 17 00:00:00 2001 From: ColdSideOfYourPillow Date: Tue, 29 Jul 2025 00:05:51 +0530 Subject: gnu: Add emacs-zoom. * gnu/packages/emacs-xyz.scm (emacs-zoom): New variable. Change-Id: Idce11959895ee8f5019b17fbfbc01cfa6bc80c16 Signed-off-by: Liliana Marie Prikler --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5c810ed3d7..514692336f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -1907,6 +1907,31 @@ while the ones that are not being actively edited will be reduced to a smaller size.") (license license:expat)))) +(define-public emacs-zoom + (package + (name "emacs-zoom") + (version "0.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cyrus-and/zoom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zzm8kchm5wwxras4bfl46flyfj44bf7qazc5yyahx9qr2ksfnhd")))) + (build-system emacs-build-system) + (arguments (list #:tests? #f)) ;no tests + (home-page "https://github.com/cyrus-and/zoom") + (synopsis "Fixed and automatic balanced window layout for Emacs") + (description + "This minor mode takes care of managing the window sizes by +enforcing a fixed and automatic balanced layout where the currently +selected window is resized according to @code{zoom-size} which can be +an absolute value in lines/columns, a ratio between the selected window +and frame size or even a custom callback.") + (license license:expat))) + (define-public emacs-git-modes (package (name "emacs-git-modes") -- cgit v1.2.3