guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/36: gnu: Add emacs-golden-ratio.


From: guix-commits
Subject: 03/36: gnu: Add emacs-golden-ratio.
Date: Sun, 21 Jan 2024 18:23:48 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 37cbd7a27c490e82d88fad22aaa6cf373cec19ca
Author: Peter Polidoro <peter@polidoro.io>
AuthorDate: Thu Jan 4 09:16:49 2024 -0500

    gnu: Add emacs-golden-ratio.
    
    * gnu/packages/emacs-xyz.scm (emacs-golden-ratio): New variable.
    
    Change-Id: I44de02989b8dadd4a395374fe078d4255a210028
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f4438f1bc8..f52756de19 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1376,6 +1376,30 @@ some utility functions, and commands using that 
infrastructure.")
 its mode line.")
       (license license:gpl3+))))
 
+(define-public emacs-golden-ratio
+  (let ((commit "375c9f287dfad68829582c1e0a67d0c18119dab9")
+        (revision "0"))
+    (package
+      (name "emacs-golden-ratio")
+      (version (git-version "1.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/roman/golden-ratio.el";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0a635a3h6jx0clgwmhwc48i14y3xy5q29y37lp2sjnbxx1hlmkli"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/roman/golden-ratio.el";)
+      (synopsis "Automatic resizing of Emacs windows to the golden ratio")
+      (description "This package provides an Emacs mode for automatically
+resizing the window that has main focus to be more convenient for editing,
+while the ones that are not being actively edited will be reduced to a smaller
+size.")
+      (license license:expat))))
+
 (define-public emacs-git-modes
   (package
     (name "emacs-git-modes")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]