unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: pinoaffe <pinoaffe@airmail.cc>
To: 40928@debbugs.gnu.org
Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: [bug#40928] [PATCH 2/2 v2] gnu: Add emacs-kakoune.
Date: Tue, 28 Apr 2020 20:06:33 +0200	[thread overview]
Message-ID: <20200428200633.4a843bf6@airmail.cc> (raw)
In-Reply-To: <87lfmfhafv.fsf@nicolasgoaziou.fr>


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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2fd16b7388..3f43202551 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22608,3 +22608,33 @@ comments or emails.")
       (description "RYO modal provides a convenient way of defining modal keybindings in Emacs,
 and does not come with any predefined bindings.")
       (license license:expat))))
+
+(define-public emacs-kakoune
+  ;; Package has no release.  Version is extracted from "Version:" keyword in
+  ;; main file.
+  (let ((commit "d73d14e69ea38076af50cc69f846808383ff539d")
+        (revision "0"))
+    (package
+      (name "emacs-kakoune")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/jmorag/kakoune.el.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0nk6jdy1y5mc3ryd0smiqghrk6iv34d5grc7f7migmshlbq0np92"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-ryo-modal"        ,emacs-ryo-modal)
+         ("emacs-multiple-cursors" ,emacs-multiple-cursors)
+         ("emacs-expand-region"    ,emacs-expand-region)))
+      (home-page "https://github.com/jmorag/kakoune.el")
+      (synopsis "Simple simulation, but not emulation, of Kakoune inside of Emacs")
+      (description "This package provides many, but not all of the editing primitives in the Kakoune editor.
+Unlike Evil mode for vim, this is very shallow emulation, which seeks to do as little
+work as possible, leveraging Emacs native editing commmands and the work of other
+packages wherever possible.")
+      (license license:expat))))
-- 
2.26.2

  parent reply	other threads:[~2020-04-28 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28 11:18 [bug#40928] [PATCH 1/2] gnu: Add emacs-ryo-modal pinoaffe
2020-04-28 11:26 ` [bug#40928] Subject: [PATCH 2/2] gnu: Add emacs-kakoune pinoaffe
2020-04-28 15:55   ` Nicolas Goaziou
2020-04-28 18:05     ` [bug#40928] [PATCH 1/2 v2] gnu: Add emacs-ryo-modal pinoaffe
2020-04-29 14:36       ` bug#40928: " Nicolas Goaziou
2020-04-28 18:06     ` pinoaffe [this message]
2020-04-29 14:38       ` [bug#40928] [PATCH 2/2 v2] gnu: Add emacs-kakoune Nicolas Goaziou
2020-04-28 15:46 ` [bug#40928] [PATCH 1/2] gnu: Add emacs-ryo-modal Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200428200633.4a843bf6@airmail.cc \
    --to=pinoaffe@airmail.cc \
    --cc=40928@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).