Subject: [PATCH] Add package emacs-windsize

From: Tomás Ortín Fernández <[email-masked]>
Date: Thu, 1 Oct 2020 14:23:11 +0200

Add windsize.el Emacs package

* gnu/packages/emacs-xyz.scm (emacs-windsize): Add package definition.
---
gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2b3247f763..e2397bdc85 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -80,6 +80,7 @@
  ;;; Copyright © 2020 Peng Mei Yu <[email-masked]>
  ;;; Copyright © 2020 Niklas Eklund <[email-masked]>
  ;;; Copyright © 2020 Marco Grassi <[email-masked]>
+;;; Copyright © 2020 Tomás Ortín Fernández <[email-masked]>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -24754,3 +24755,24 @@ web development.")
        ;; file and the header of the main elisp file which indicates
        ;; that it is licensed under the GPL version 3 or later.
        (license (list license:mpl2.0 license:gpl3+)))))
+
+(define-public emacs-windsize
+  (package
+    (name "emacs-windsize")
+    (version "20181029")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/grammati/windsize")
+                    (commit "62c2846bbe95b0a73e996c75e4a644d05f57aaaa")))
+              (sha256
+               (base32
+                "13kfrmv3vmkfanxv9nym5v43hx5p7xkgqmx65zcxh4gcbaham1mi"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/grammati/windsize")
+    (synopsis "Easy resizing of emacs windows")
+    (description "Move the borders of the active window with the arrow
+keys (C-S-<dir> by default).  Always prefers to move the right or
+bottom border when possible, and falls back to moving the left or top
+border otherwise.")
+    (license license:gpl3+)))