unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41611] [PATCH] gnu: Add emacs-buffer-move
@ 2020-05-30  1:35 Fredrik Salomonsson
  2020-05-31 21:34 ` bug#41611: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Fredrik Salomonsson @ 2020-05-30  1:35 UTC (permalink / raw)
  To: 41611; +Cc: Fredrik Salomonsson

---
 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 <monego@posteo.net>
 ;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
 ;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
+;;; Copyright © 2020 Fredrik Salomonsson <plattfot@gmail.com>
 ;;;
 ;;; 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41611: [PATCH] gnu: Add emacs-buffer-move
  2020-05-30  1:35 [bug#41611] [PATCH] gnu: Add emacs-buffer-move Fredrik Salomonsson
@ 2020-05-31 21:34 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-05-31 21:34 UTC (permalink / raw)
  To: Fredrik Salomonsson; +Cc: 41611-done

Hello,

Fredrik Salomonsson <plattfot@gmail.com> 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-31 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30  1:35 [bug#41611] [PATCH] gnu: Add emacs-buffer-move Fredrik Salomonsson
2020-05-31 21:34 ` bug#41611: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).