From patchwork Sun Jan 6 09:41:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 684 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1A70816A21; Sun, 6 Jan 2019 09:43:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 9229E169D1 for ; Sun, 6 Jan 2019 09:43:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:37984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg4xb-00019j-4d for patchwork@mira.cbaines.net; Sun, 06 Jan 2019 04:43:11 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:36009 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg4xZ-00019e-09 for guix-patches@gnu.org; Sun, 06 Jan 2019 04:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg4xS-0007zG-NR for guix-patches@gnu.org; Sun, 06 Jan 2019 04:43:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gg4xS-0007z7-Kg for guix-patches@gnu.org; Sun, 06 Jan 2019 04:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gg4xS-00044U-Fr for guix-patches@gnu.org; Sun, 06 Jan 2019 04:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33995] [PATCH] gnu: Add emacs-general. Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jan 2019 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33995@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154676777615636 (code B ref -1); Sun, 06 Jan 2019 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2019 09:42:56 +0000 Received: from localhost ([127.0.0.1]:48235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gg4xL-000448-Kl for submit@debbugs.gnu.org; Sun, 06 Jan 2019 04:42:55 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:55197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gg4xK-000441-0U for submit@debbugs.gnu.org; Sun, 06 Jan 2019 04:42:54 -0500 Received: from listsout.gnu.org ([208.118.235.17]:52032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gg4xJ-0007vQ-Io for submit@debbugs.gnu.org; Sun, 06 Jan 2019 04:42:53 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:35955 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg4xI-00017a-Cj for guix-patches@gnu.org; Sun, 06 Jan 2019 04:42:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg4xH-0007uP-GW for guix-patches@gnu.org; Sun, 06 Jan 2019 04:42:52 -0500 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:37151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gg4xH-0007tZ-AT for guix-patches@gnu.org; Sun, 06 Jan 2019 04:42:51 -0500 Received: by mail-ed1-x544.google.com with SMTP id h15so35278045edb.4 for ; Sun, 06 Jan 2019 01:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=dyslAvJ80C8gaYnV78E+r3cOz0wECtZz3esquSANmJw=; b=eh+OuktkrSUkDoTwPYKLBovgcEHXp6GqbTm0CMmOtnEBJWLZY8XsEj3pZ1QPfe4W6y dwGs6XucBxOb9pUWyiRpO9tHfTkG01VOuUQ29kkGgSe8Pq6ONQa50kLTNCG68CR6ARgP eIN0ryWS4WjgK1kntP+AKK7PCJrN4uwA9yhFbSXUgTfYmmKNDUlXU0mu3rgAicX96AF1 30v+bV8bLOGN7ayBrjA/cNX+64TFDd1eSBU+v9dokl51UJh9FWdxq73N5EcLy4CRp6dO 9aVKDi13GJrseSNz0iapHzNMtU4YYSIWE2fWE6PVVKdKduB+14FuhU/nD4p2953Lb4+6 87IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=dyslAvJ80C8gaYnV78E+r3cOz0wECtZz3esquSANmJw=; b=bf6J4gC3SSxWz23Iz8RGv06AjId4Jaw0zmqvYiT3aOUMFcKgY6z8vv7D/pQQFaiaWg NoE45RkEpkaL4ZFJutbLWzyucqLaOlm57xKjHiodvVFs+u1U9lXYJ004rxHZ2eZv8Kgs RI70QujVxDW9d7bdI6x1Ox5jzpnj/u3bGLDmCR5y4oAZ+lhcvPPBBFjZZZIzo95FnoOK 1YALWvP4o1rWyJ3CRebgVhDV4Q8KVez5dwbQdyRVhHS19dbk65wLmq6Uv8/AAyeLG6ji Az0VpWQzI0MCCSvkEQ1l6yVq9x0XVFdShwW0VZvvIfFuix+fbKjTbwxDYXSE5nJRr8AQ gMEg== X-Gm-Message-State: AA+aEWYtlUEarpG/Is+h0usCnKVYmW02lsjblLlltbybV0MjbwY83PXX LOtOtXMHllLvyRKM0euQw7bTh+5E X-Google-Smtp-Source: AFSGD/Uha7KmS4QOBSkh53wpYP77ZjLAOkRpLCMJfM1iqCSNRn9E3CZ2JNLABR7BC0LqlpzvZagPzg== X-Received: by 2002:a50:cc04:: with SMTP id m4mr53053456edi.171.1546767769887; Sun, 06 Jan 2019 01:42:49 -0800 (PST) Received: from glht-x240.gmail.com (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:44e3:e842:9e10:2378]) by smtp.gmail.com with ESMTPSA id s3sm27288236edm.31.2019.01.06.01.42.48 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Jan 2019 01:42:48 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Sun, 6 Jan 2019 10:41:09 +0100 Message-ID: <871s5q86lo.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs.scm (emacs-general): New variable. --- gnu/packages/emacs.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 07619e302..8ef2b94ee 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -12963,3 +12963,34 @@ other frame parameters.") (description "Emacs major mode for editing Arduino sketches.") (home-page "https://github.com/bookest/arduino-mode") (license license:gpl3+)))) + +(define-public emacs-general + (let ((commit "675050199b5a30d54a24b58a367db32c0bdc47f5")) + (package + (name "emacs-general") + (version (git-version "0" "0" commit)) + (home-page "https://github.com/noctuid/general.el") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit commit))) + (sha256 + (base32 + "175yyhzk57yk1sskxh3d2jzhrh2waiibbcfsll167qxr117yji5h")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (synopsis "More convenient key definitions in emacs") + (description "@code{general.el} provides a more convenient method for +binding keys in emacs (for both evil and non-evil users). Like +@code{use-package}, which provides a convenient, unified interface for +managing packages, @code{general.el} is intended to provide a convenient, +unified interface for key definitions. While this package does implement some +completely new functionality (such as the ability to make vim-style +keybindings under non-prefix keys with an optional timeout), its primary +purpose is to build on existing functionality to make key definition more +clear and concise. @code{general-define-key} is user-extensible and supports +defining multiple keys in multiple keymaps at once, implicitly wrapping key +strings with (@code{kbd ...}), using named prefix key sequences (like the +leader key in vim), and much more.") + (license license:gpl3+))))