Subject: bug#40259: closed (Re: [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 01 Apr 2020 08:12:02 +0000

Your bug report

#40259: [PATCH] gnu: Add emacs-evil-tmux-navigator.

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].

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

Subject: Re: [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator
From: Christopher Baines <[email-masked]>
To: John Soo <[email-masked]>
Cc: [email-masked]
Date: Wed, 01 Apr 2020 09:11:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

John Soo <[email-masked]> writes:

> Hi Guix,
>
> I realized my last patch was based on previous work.
>
> I cherry-picked this one onto master.

Hi John,

Thanks for the patch. I've now pushed this as
1d5c93d9f8a13588695490db6516b40f54e91fa2.

I made a few changes, I move the package up from the bottom of the
file. I'd always recommend not adding new packages at the bottom of the
module files, as if everyone does this, it becomes harder to apply
patches because there are more conflicts. In this case, I think this
patch ended up conflicting with your addition of emacs-haskell-snippets,
also to the bottom of the emacs-xyz.scm file.

I also tweaked emacs-evil to be a propagated input, just because that
looked to be what the existing emacs-evil-... packages do, and I tweaked
the description to start with "This package lets you " so it reads as a
complete sentance.

Thanks again,

Chris

Subject: [PATCH] gnu: Add emacs-evil-tmux-navigator.
From: John Soo <[email-masked]>
To: [email-masked]
Date: Fri, 27 Mar 2020 14:46:13 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

evil-tmux-navigator provides seeemless switching between tmux and emacs
panes with nice evil keybindings. It hasn't seen a commit in a long time
but I think that is because it seems to be very stable.

Thanks,

John

>From 318bceb99d436d4e94dab66ffa611340e325683e Mon Sep 17 00:00:00 2001
From: John Soo <[email-masked]>
Date: Thu, 19 Mar 2020 09:27:15 -0700
Subject: [PATCH] gnu: Add emacs-evil-tmux-navigator.

* gnu/packages/emacs-xyz.scm (emacs-evil-tmux-navigator): New Variable.
---
 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 b2ee94bc91..5cc3334aab 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21839,3 +21839,29 @@ conventions.")
     (synopsis "Flycheck support for the elm language")
     (description "Flycheck support for the elm language.")
     (license license:gpl2+)))
+
+(define-public emacs-evil-tmux-navigator
+  (package
+    (name "emacs-evil-tmux-navigator")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/keith/evil-tmux-navigator")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1na44rbc03sr5b4z9pvnps6n4nmrqcz58nywix9825l74a419ijx"))))
+    (inputs
+     `(("emacs-evil" ,emacs-evil)))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/keith/evil-tmux-navigator")
+    (synopsis
+     "Navigate seamlessly between emacs windows and tmux panes")
+    (description
+     "Use C-h, C-j, C-k and C-l to navigate between emacs windows and tmux
+panes.")
+    (license license:expat)))
-- 
2.26.0