Subject: bug#41611: closed (Re: [bug#41611] [PATCH] gnu: Add emacs-buffer-move)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 31 May 2020 21:35:02 +0000

Your bug report

#41611: [PATCH] gnu: Add emacs-buffer-move

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
41611: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41611
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#41611] [PATCH] gnu: Add emacs-buffer-move
From: Nicolas Goaziou <[email-masked]>
To: Fredrik Salomonsson <[email-masked]>
Cc: [email-masked]
Date: Sun, 31 May 2020 23:34:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Fredrik Salomonsson <[email-masked]> writes:

> ---
>  gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++

Thank you. I applied your patch with the following changes:

- I added a proper commit message,
- I fixed indentation
- I used GitHub repository instead of MELPA
- I moved the definition elsewhere than at the end the file.

Regards,

-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-buffer-move
From: Fredrik Salomonsson <[email-masked]>
To: [email-masked]
Cc: Fredrik Salomonsson <[email-masked]>
Date: Fri, 29 May 2020 18:35:55 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4f7b4cf6cc..268780ce3d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -73,6 +73,7 @@
 ;;; Copyright © 2020 Vinicius Monego <[email-masked]>
 ;;; Copyright © 2020 Ryan Desfosses <[email-masked]>
 ;;; Copyright © 2020 Marcin Karpezo <[email-masked]>
+;;; Copyright © 2020 Fredrik Salomonsson <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23110,3 +23111,28 @@ files.")
 sources.  It features syntax highlighting, autocompletion, preview of buffer
 or region and use of locally installed binaries.")
     (license license:gpl3+)))
+
+(define-public emacs-buffer-move
+  (package
+    (name "emacs-buffer-move")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://stable.melpa.org/packages/buffer-move-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "0d977g88ca3k1v5psikgrg4sb9q0jiw21g633r8a06dvn4n0ca3h"))))
+    (build-system emacs-build-system)
+    (home-page
+      "https://github.com/lukhas/buffer-move")
+    (synopsis "Functions for moving emacs' buffers around")
+    (description
+      "This package define functions for swapping buffers between windows
+contained in the same frame.  An alternate behavior is to have the current
+window switch to the previous buffer instead of swapping with the other
+window.")
+    (license license:gpl3+)))
-- 
2.26.2