unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40296] [PATCH] Add emacs-evil-escape
@ 2020-03-28 23:56 John Soo
  2020-03-30 13:01 ` bug#40296: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: John Soo @ 2020-03-28 23:56 UTC (permalink / raw)
  To: 40296

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

Hi Guix,

evil-escape provides an easy way to always get to evil's normal from
many modes.

Thanks,

John


[-- Attachment #2: add emacs-evil-escape. --]
[-- Type: text/x-patch, Size: 1922 bytes --]

>From d6f2e25d38ac27ade84d023c5ea73e62152aa116 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 09:50:08 -0700
Subject: [PATCH] gnu: Add emacs-evil-escape.

* gnu/packages/emacs-xyz.scm (emacs-evil-escape): 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 9d40b8019e..b91b662ac6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2020 6033fe7de85d <6033fe7de85d@airmail.cc>
+;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21776,3 +21777,28 @@ enables modal editing and composition of commands, too.  It combines ideas of
 other Editors like Vim or Kakoune and tries to align them with regular Emacs
 conventions.")
     (license license:gpl3+)))
+
+(define-public emacs-evil-escape
+  (package
+    (name "emacs-evil-escape")
+    (version "3.14")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/syl20bnr/evil-escape")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0s8lmmm25qabicwaj9jybpbd8mkc62yl7jnhk1lpablydjkv3w2i"))))
+    (inputs
+     `(("emacs-evil" ,emacs-evil)))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/syl20bnr/evil-escape")
+    (synopsis "Escape from insert state and everything else in Emacs")
+    (description
+     "Customizable key sequence to escape from insert state and everything
+else in Emacs.")
+    (license license:gpl3+)))
-- 
2.26.0


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

* bug#40296: [PATCH] Add emacs-evil-escape
  2020-03-28 23:56 [bug#40296] [PATCH] Add emacs-evil-escape John Soo
@ 2020-03-30 13:01 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-03-30 13:01 UTC (permalink / raw)
  To: John Soo; +Cc: 40296-done

Hello,

John Soo <jsoo1@asu.edu> writes:

> evil-escape provides an easy way to always get to evil's normal from
> many modes.

Applied as 9a69218a1636ebdf5b456fc8025a8ad234b9f2f1.

Thank you!

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-03-30 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-28 23:56 [bug#40296] [PATCH] Add emacs-evil-escape John Soo
2020-03-30 13:01 ` bug#40296: " 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).