unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35135] [PATCH] Add Emacs packages
@ 2019-04-04  4:43 Brian Leung
  2019-04-11 11:25 ` bug#35135: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2019-04-04  4:43 UTC (permalink / raw)
  To: 35135


[-- Attachment #1.1: Type: text/plain, Size: 80 bytes --]

See attached. The patches were made sequentially on the same branch, from
1-10.

[-- Attachment #1.2: Type: text/html, Size: 105 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-janpath-evil-numbers.patch --]
[-- Type: text/x-patch, Size: 1804 bytes --]

From 68e82ad1892b997366dd317410762e46d9437901 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:10:24 +0200
Subject: [PATCH] gnu: Add emacs-janpath-evil-numbers.

* gnu/packages/emacs-xyz.scm (emacs-janpath-evil-numbers): 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 1dddfd34e8..a3a890e8f2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5577,6 +5577,32 @@ go to the second most recent edit, etc.  Negative argument, @kbd{C-u -}, is
 used for reverse direction.")
     (license license:gpl2+)))
 
+(define-public emacs-janpath-evil-numbers
+  (let ((commit "d988041c1fe6e941dc8d591390750b237f71f524")
+        (version "0.5")
+        (revision "1"))
+    (package
+      (name "emacs-janpath-evil-numbers")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/janpath/evil-numbers")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "16zixhxxcb83m82f2cfiardfn99j3w41v6vh1qk6j9pplrlfw70v"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/janpath/evil-numbers")
+      (synopsis "Increment and decrement numeric literals")
+      (description
+       "This package provides functionality to search for a number up to the
+end of a line and increment or decrement it.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #3: 0004-gnu-Add-emacs-evil-indent-plus.patch --]
[-- Type: text/x-patch, Size: 1774 bytes --]

From 7b2857b611bcfd3dceac126cba95b83095bddbf4 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:16:30 +0200
Subject: [PATCH] gnu: Add emacs-evil-indent-plus.

* gnu/packages/emacs-xyz.scm (emacs-evil-indent-plus): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8162b66c2a..3b5e5d97b8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5655,6 +5655,33 @@ for exchanging text.")
 contents of a register.")
       (license license:gpl3+))))
 
+(define-public emacs-evil-indent-plus
+  (let ((commit "0c7501e6efed661242c3a20e0a6c79a6455c2c40")
+        (version "1.0.0")
+        (revision "1"))
+    (package
+      (name "emacs-evil-indent-plus")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/TheBB/evil-indent-plus")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1g6r1ydscwjvmhh1zg4q3nap4avk8lb9msdqrh7dff6pla0r2qs6"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/TheBB/evil-indent-plus")
+      (synopsis "Text objects based on indentation")
+      (description
+       "This package adds new text objects for @code{evil-mode} based on
+blocks having the same or higher indentation, including or excluding
+surrounding lines.")
+      (license license:gpl2+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #4: 0005-gnu-Add-emacs-evil-text-object-python.patch --]
[-- Type: text/x-patch, Size: 1760 bytes --]

From 2ad19c95822fe29816a00b343c570ffe6cfe0121 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:16:49 +0200
Subject: [PATCH] gnu: Add emacs-evil-text-object-python.

* gnu/packages/emacs-xyz.scm (emacs-evil-text-object-python): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3b5e5d97b8..41f0a3bf91 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5682,6 +5682,31 @@ blocks having the same or higher indentation, including or excluding
 surrounding lines.")
       (license license:gpl2+))))
 
+(define-public emacs-evil-text-object-python
+  (let ((commit "9a064fe6475429145cbcc3b270fcc963b67adb15")
+        (version "1.0.1")
+        (revision "1"))
+    (package
+      (name "emacs-evil-text-object-python")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/wbolster/evil-text-object-python")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "074zpm6mmr1wfl6d5xdf8jk1fs4ccpbzf4ahhkwga9g71xiplszv"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/wbolster/evil-text-object-python")
+      (synopsis "Text objects for Python")
+      (description
+       "This package provides @code{evil-mode} text objects for Python.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #5: 0003-gnu-Add-emacs-evil-replace-with-register.patch --]
[-- Type: text/x-patch, Size: 1810 bytes --]

From 503497193f4b29d29ee8d0cfc69a3b0fe3717731 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:15:33 +0200
Subject: [PATCH] gnu: Add emacs-evil-replace-with-register.

* gnu/packages/emacs-xyz.scm (emacs-evil-replace-with-register): 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 f06f835e40..8162b66c2a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5629,6 +5629,32 @@ end of a line and increment or decrement it.")
 for exchanging text.")
       (license license:gpl3+))))
 
+(define-public emacs-evil-replace-with-register
+  (let ((commit "91cc7bf21a94703c441cc9212214075b226b7f67")
+        (version "0.1")
+        (revision "1"))
+    (package
+      (name "emacs-evil-replace-with-register")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Dewdrops/evil-ReplaceWithRegister")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "14rpn76qrf287s3y2agmddcxi27r226i53ixjvd694ss039g0r11"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/Dewdrops/evil-ReplaceWithRegister")
+      (synopsis "Quickly replace text with the contents of a register")
+      (description
+       "This package provides an Evil operator for replacing text with the
+contents of a register.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #6: 0002-gnu-Add-emacs-evil-exchange.patch --]
[-- Type: text/x-patch, Size: 1725 bytes --]

From b33dadc23c98b776e284fcffdefffebc1dd034b1 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:14:39 +0200
Subject: [PATCH] gnu: Add emacs-evil-exchange.

* gnu/packages/emacs-xyz.scm (emacs-evil-exchange): 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 a3a890e8f2..f06f835e40 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5603,6 +5603,32 @@ used for reverse direction.")
 end of a line and increment or decrement it.")
       (license license:gpl3+))))
 
+(define-public emacs-evil-exchange
+  (let ((commit "47691537815150715e64e6f6ec79be7746c96120")
+        (version "0.41")
+        (revision "1"))
+    (package
+      (name "emacs-evil-exchange")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Dewdrops/evil-exchange")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0bjpn4yqig17ddym6wqq5fm1b294q74hzcbj9a6gs97fqiwf88xa"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/Dewdrops/evil-exchange")
+      (synopsis "Exchange text easily within Evil")
+      (description
+       "This package, a port of @code{vim-exchange}, provides an Evil operator
+for exchanging text.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #7: 0006-gnu-Add-emacs-evil-lion.patch --]
[-- Type: text/x-patch, Size: 1738 bytes --]

From 9ff2a78c73b3641713d925050ee70f9018771bb8 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:17:08 +0200
Subject: [PATCH] gnu: Add emacs-evil-lion.

* gnu/packages/emacs-xyz.scm (emacs-evil-lion): 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 41f0a3bf91..37b1a12fd6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5707,6 +5707,32 @@ surrounding lines.")
        "This package provides @code{evil-mode} text objects for Python.")
       (license license:gpl3+))))
 
+(define-public emacs-evil-lion
+  (let ((commit "6b03593f5dd6e7c9ca02207f9a73615cf94c93ab")
+        (version "0.0.2")
+        (revision "1"))
+    (package
+      (name "emacs-evil-lion")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/edkolev/evil-lion")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1a162hynp0jcsn50c1w5a02mrw9w3q05c7lkqzqd25px3d0p772q"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/edkolev/evil-lion")
+      (synopsis "Align operator for @code{evil-mode}")
+      (description
+       "This package, a port of @code{vim-lion}, provides an operator for
+aligning text objects based on separators.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #8: 0007-gnu-Add-emacs-evil-expat.patch --]
[-- Type: text/x-patch, Size: 1810 bytes --]

From 04a418be9d485d5c47bbdd11318506b3e9669b68 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:17:25 +0200
Subject: [PATCH] gnu: Add emacs-evil-expat.

* gnu/packages/emacs-xyz.scm (emacs-evil-expat): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 37b1a12fd6..1b75bbd462 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5733,6 +5733,33 @@ surrounding lines.")
 aligning text objects based on separators.")
       (license license:gpl3+))))
 
+(define-public emacs-evil-expat
+  (let ((commit "4c344ea19b789002d759a202ffbf594730d2c59a")
+        (version "0.0.1")
+        (revision "1"))
+    (package
+      (name "emacs-evil-expat")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/edkolev/evil-expat")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "16v7fnldxag6l1lsnrnhdjkga9qi78lbdfbb82k6pmv04991mbkr"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/edkolev/evil-expat")
+      (synopsis "Extra @code{ex} commands for @code{evil-mode}")
+      (description
+       "This package provides additional commands for the @code{ex} command
+line, including functions for version control with Git and for copying and
+pasting into and from @code{tmux} paste buffers.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #9: 0008-gnu-Add-emacs-evil-nerd-commenter.patch --]
[-- Type: text/x-patch, Size: 1633 bytes --]

From 806d3f2f6cd63e5f7c69d6563789818c56646a4e Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:17:42 +0200
Subject: [PATCH] gnu: Add emacs-evil-nerd-commenter.

* gnu/packages/emacs-xyz.scm (emacs-evil-nerd-commenter): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1b75bbd462..e9f2d52e70 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5760,6 +5760,29 @@ line, including functions for version control with Git and for copying and
 pasting into and from @code{tmux} paste buffers.")
       (license license:gpl3+))))
 
+(define-public emacs-evil-nerd-commenter
+  (package
+    (name "emacs-evil-nerd-commenter")
+    (version "3.3.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/redguardtoo/evil-nerd-commenter")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0074i9lvfs5hkbf63g1xh3n7dbmkax30bppkx2cd394c7zlsvzzk"))))
+    (build-system emacs-build-system)
+    (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+    (home-page "https://github.com/redguardtoo/evil-nerd-commenter")
+    (synopsis "Comment and uncomment lines efficiently")
+    (description
+     "This package provides text objects and operators for comments within
+@code{evil-mode}.")
+    (license license:gpl3+)))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #10: 0009-gnu-Add-emacs-evil-visual-replace.patch --]
[-- Type: text/x-patch, Size: 1619 bytes --]

From 355ce80ca6bdb37de3f1abba6b23d77b329325eb Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:18:21 +0200
Subject: [PATCH] gnu: Add emacs-evil-visual-replace.

* gnu/packages/emacs-xyz.scm (emacs-evil-visual-replace): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e9f2d52e70..5311a8160f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5783,6 +5783,29 @@ pasting into and from @code{tmux} paste buffers.")
 @code{evil-mode}.")
     (license license:gpl3+)))
 
+(define-public emacs-evil-visual-replace
+  (package
+    (name "emacs-evil-visual-replace")
+    (version "0.0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/troyp/evil-visual-replace")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1gfyrq7xfzmzh3x8k5f08n027dlbwi0pkkxf9c39fkxp4jngibsz"))))
+    (build-system emacs-build-system)
+    (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+    (home-page "https://github.com/troyp/evil-visual-replace")
+    (synopsis "Replacement commands for @code{evil-mode} visual blocks")
+    (description
+     "This package provides versions of @code{query-replace} and
+@code{replace-regexp} that work for @code{evil-mode} visual blocks.")
+    (license license:gpl2+)))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


[-- Attachment #11: 0010-gnu-Add-emacs-evil-visualstar.patch --]
[-- Type: text/x-patch, Size: 1776 bytes --]

From 2e3135c2bd22156567ddb53a4624cf44ec03537b Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Thu, 4 Apr 2019 06:18:58 +0200
Subject: [PATCH] gnu: Add emacs-evil-visualstar.

* gnu/packages/emacs-xyz.scm (emacs-evil-visualstar): 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 5311a8160f..fba2cdd11a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5806,6 +5806,32 @@ pasting into and from @code{tmux} paste buffers.")
 @code{replace-regexp} that work for @code{evil-mode} visual blocks.")
     (license license:gpl2+)))
 
+(define-public emacs-evil-visualstar
+  (let ((commit "06c053d8f7381f91c53311b1234872ca96ced752")
+        (version "0.0.2")
+        (revision "1"))
+    (package
+      (name "emacs-evil-visualstar")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/bling/evil-visualstar")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0mkbzw12fav945icibc2293m5haxqr3hzkyli2cf4ssk6yvn0x4c"))))
+      (build-system emacs-build-system)
+      (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/bling/evil-visualstar")
+      (synopsis "Instantly search using the visual selection")
+      (description
+       "This package provides @code{evil-mode} functions for using selected text
+to search.")
+      (license license:gpl3+))))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")
-- 
2.21.0


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

* bug#35135: [PATCH] Add Emacs packages
  2019-04-04  4:43 [bug#35135] [PATCH] Add Emacs packages Brian Leung
@ 2019-04-11 11:25 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-04-11 11:25 UTC (permalink / raw)
  To: Brian Leung; +Cc: 35135-done

Hi Brian,

Brian Leung <bkleung89@gmail.com> skribis:

> See attached. The patches were made sequentially on the same branch, from
> 1-10.

Applied all 10 patches, thank you!

Ludo’.

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

end of thread, other threads:[~2019-04-11 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04  4:43 [bug#35135] [PATCH] Add Emacs packages Brian Leung
2019-04-11 11:25 ` bug#35135: " Ludovic Courtès

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