Subject: [bug#63370] [PATCH] gnu: Add emacs-framemove.

From: Fabio Natali <[email-masked]>
Date: Mon, 8 May 2023 14:05:20 +0100

Hi, this tiny patch is to add FrameMove, an Emacs package that allows to move
focus across windows and frames. IIUC, it can be particularly useful to EXWM
users. The package is currently hosted on EmacsWiki at
https://www.emacswiki.org/emacs/FrameMove. Hope this helps.

* gnu/packages/emacs-xyz.scm (emacs-framemove): New variable.

Signed-off-by: Fabio Natali <[email-masked]>
---
 gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 050e6377a3..720cefae18 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -128,6 +128,7 @@
 ;;; Copyright © 2023 Juliana Sims <[email-masked]>
 ;;; Copyright © 2023 Evgeny Pisemsky <[email-masked]>
 ;;; Copyright © 2023 Gabriel Wicki <[email-masked]>
+;;; Copyright © 2023 Fabio Natali <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -32435,6 +32436,25 @@ (define-public emacs-windower
 @end itemize")
     (license license:gpl3+)))
 
+(define-public emacs-framemove
+  (package
+    (name "emacs-framemove")
+    (version "0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "https://www.emacswiki.org/emacs/download/framemove.el")
+       (sha256
+        (base32
+         "15fhhywr0y2bd10rp60qkdq521l8ag1is4ahjnd84hl2w0qn7gnw"))))
+    (build-system emacs-build-system)
+    (home-page "https://www.emacswiki.org/emacs/framemove.el")
+    (synopsis "Directional frame selection routines")
+    (description "@code{emacs-framemove} is similar to the @code{windmove.el}
+library, but for frames. It provides a simple set of keystrokes to move the
+input/focus between windows.")
+    (license license:gpl3)))
+
 (define-public emacs-flycheck-cpplint
   (package
     (name "emacs-flycheck-cpplint")

base-commit: 0e09e8ab1554a7dffd60101cb4e631b348e43c9c
-- 
2.39.2