summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-12-31 15:59:05 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-31 15:59:05 +0100
commit3da8b44bfc2377c81e9da5daca789e1c09b0784f (patch)
tree55c6212303d7ff117590d236db2b90cf7470e1cf /gnu
parent51c06d10cfa9559ef647d7542702256e00cea47a (diff)
gnu: Add emacs-window-purpose.
* gnu/packages/emacs-xyz.scm (emacs-window-purpose): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm46
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0fb174f001..0a32e2147c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7703,6 +7703,52 @@ with the arrow keys. It prefers to move the right or bottom border when
possible, and falls back to moving the left or top border otherwise.")
(license license:gpl3+))))
+(define-public emacs-window-purpose
+ (let ((commit "f6421966761ad911fe8861aba2b110c5dd60d1ea")
+ (revision "1"))
+ (package
+ (name "emacs-window-purpose")
+ (version (git-version "1.7" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bmag/emacs-purpose.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1p0y5gnrw7q65py2wjdf1hrdpiw5c2zbgvfbfmb13257jq5mga38"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-let-alist" ,emacs-let-alist)
+ ("emacs-imenu-list" ,emacs-imenu-list)))
+ (arguments
+ '(#:include
+ '("^[^/]+.el$"
+ "^[^/]+.el.in$"
+ "^dir$"
+ "^[^/]+.info$"
+ "^[^/]+.texi$"
+ "^[^/]+.texinfo$"
+ "^doc/dir$"
+ "^doc/[^/]+.info$"
+ "^doc/[^/]+.texi$"
+ "^doc/[^/]+.texinfo$"
+ "^layouts$")
+ #:exclude
+ '("^.dir-locals.el$"
+ "^test.el$"
+ "^tests.el$"
+ "^[^/]+-test.el$"
+ "^[^/]+-tests.el$")))
+ (home-page "https://github.com/bmag/emacs-purpose")
+ (synopsis "Purpose-based window management for Emacs")
+ (description "Purpose is a package that introduces the concept of a
+\"purpose\" for windows and buffers, and then helps you maintain a robust
+window layout easily.")
+ (license license:gpl3+))))
+
(define-public emacs-iedit
;; Last release version was in 2016.
(let ((commit "e2c100cdd67b7d82835d281ac2cd1bf4f374bc8f")