summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorColdSideOfYourPillow <ColdSideOfYourPillow@noreply.codeberg.org>2025-07-29 00:05:51 +0530
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-08-01 20:59:44 +0200
commited042737f96fd76e572d2eee6f1d30ac7d4228e0 (patch)
tree7c773f45ea310fb37729e3c91e4fcde235924aef /gnu
parentf6b3eca6f33c50f2981f7dc7821df641e34c2481 (diff)
gnu: Add emacs-zoom.
* gnu/packages/emacs-xyz.scm (emacs-zoom): New variable. Change-Id: Idce11959895ee8f5019b17fbfbc01cfa6bc80c16 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm25
1 files changed, 25 insertions, 0 deletions
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")