From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47966) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTUdL-0007AL-Hf for guix-patches@gnu.org; Tue, 28 Apr 2020 14:07:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTUdL-0000AD-0h for guix-patches@gnu.org; Tue, 28 Apr 2020 14:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTUdK-000085-Iy for guix-patches@gnu.org; Tue, 28 Apr 2020 14:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTUdK-0003v9-EW for guix-patches@gnu.org; Tue, 28 Apr 2020 14:07:02 -0400 Subject: [bug#40928] [PATCH 2/2 v2] gnu: Add emacs-kakoune. Resent-Message-ID: Date: Tue, 28 Apr 2020 20:06:33 +0200 From: pinoaffe Message-ID: <20200428200633.4a843bf6@airmail.cc> In-Reply-To: <87lfmfhafv.fsf@nicolasgoaziou.fr> References: <20200428131817.2141e9e5@airmail.cc> <20200428132656.6e975071@airmail.cc> <87lfmfhafv.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40928@debbugs.gnu.org Cc: Nicolas Goaziou * 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