diff mbox series

[bug#48727] gnu: Add emacs-evil-paredit.

Message ID e1185fc2d343bdc075e26fdc55056e92668b2d35.1622276477.git.public@yoctocell.xyz
State Accepted
Headers show
Series [bug#48727] gnu: Add emacs-evil-paredit. | expand


Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Xinglu Chen May 29, 2021, 8:21 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-evil-paredit): New variable.
 gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

base-commit: cefa260fb42693b87545b1baab8cef9723827f80


Nicolas Goaziou May 31, 2021, 7:04 p.m. UTC | #1

Xinglu Chen <public@yoctocell.xyz> writes:

> * gnu/packages/emacs-xyz.scm (emacs-evil-paredit): New variable.

I reordered alphabetically propagated inputs and applied your patch. Thanks.

diff mbox series


diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5ddeb09230..4f4ebb7985 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11030,6 +11030,35 @@  end of a line and increment or decrement it.")
 a popup window for previewing candidates.")
       (license license:gpl3+))))
+(define-public emacs-evil-paredit
+  (let ((commit "e058fbdcf9dbf7ad6cc77f0172d7517ef233d55f"))
+    (package
+      (name "emacs-evil-paredit")
+      (version "0.0.2")                 ; says 0.0.2 in evil-paredit.el
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/roman/evil-paredit")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0b08y4spapl4g2292j3l4cr84gjlvm3rpma3gqld4yb1sxd7v78p"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-paredit" ,emacs-paredit)
+         ("emacs-evil" ,emacs-evil)))
+      (home-page "https://github.com/roman/evil-paredit")
+      (synopsis "Evil extension to integrate nicely with Paredit")
+      (description "This package helps you to not screw up your paredit setup
+when using evil-mode.
+In order to accomplish this whenever you try to use a modifier command like
+@kbd{d}, @kbd{c}, @kbd{y} to modify the paredit buffer, it will stop you to do
+so in the case you break the parity of parenthesis.")
+      (license license:expat))))
 (define-public emacs-evil-args
   (let ((commit "758ad5ae54ad34202064fec192c88151c08cb387")
         (revision "1"))