From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40486) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEnwR-0002Y7-F5 for guix-patches@gnu.org; Thu, 19 Mar 2020 01:42:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEnwQ-0003OF-AB for guix-patches@gnu.org; Thu, 19 Mar 2020 01:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEnwQ-0003O1-66 for guix-patches@gnu.org; Thu, 19 Mar 2020 01:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEnwQ-0006No-4A for guix-patches@gnu.org; Thu, 19 Mar 2020 01:42:02 -0400 Subject: [bug#40128] [PATCH 1/2] gnu: Add emacs-pretty-hydra. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:40430) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEnwK-0002Y1-56 for guix-patches@gnu.org; Thu, 19 Mar 2020 01:41:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEnwI-0003IP-8h for guix-patches@gnu.org; Thu, 19 Mar 2020 01:41:55 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:44686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jEnwH-0003Fw-LJ for guix-patches@gnu.org; Thu, 19 Mar 2020 01:41:54 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id DCDF441149 for ; Thu, 19 Mar 2020 06:41:49 +0100 (CET) Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CuViieYColbZ for ; Thu, 19 Mar 2020 06:41:49 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 1B85D40BAE for ; Thu, 19 Mar 2020 06:41:48 +0100 (CET) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id CC0EDDED for ; Thu, 19 Mar 2020 06:41:48 +0100 (CET) From: "LaFreniere, Joseph" Date: Thu, 19 Mar 2020 00:41:44 -0500 Message-ID: <871rpoq4tj.fsf@lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 40128@debbugs.gnu.org --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. As noted in the description, this package is not intended for use by end-users. Is there a convention for communicating that? -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-pretty-hydra.patch >From 77d0cc7e5fbda5dc0aa36cc16f8ffac6ca8591ad Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 18 Mar 2020 20:59:49 -0500 Subject: [PATCH 1/2] gnu: Add emacs-pretty-hydra. * gnu/packages/emacs-xyz.scm (emacs-pretty-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a821bc7776..54728d7165 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5576,6 +5576,40 @@ the Hydra very seamless; it's like a minor mode that disables itself automatically.") (license license:gpl3+))) +(define-public emacs-pretty-hydra + (package + (name "emacs-pretty-hydra") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jerrypnz/major-mode-hydra.el.git") + (commit version))) + (sha256 + (base32 + "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-hydra" ,emacs-hydra) + ("emacs-s" ,emacs-s) + ("emacs-dash" ,emacs-dash))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'add-source-to-load-path 'remove-pretty-hydra + (lambda* (#:key outputs #:allow-other-keys) + ;; major-mode-hydra is packaged separately. + (delete-file "major-mode-hydra.el") + #t))))) + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") + (synopsis "Major mode keybindings managed by Hydra") + (description + "This package offers an hydra-based method of managing major +mode-specific key bindings. It is intended for use as a library only; see +package @code{emacs-major-mode-hydra} for a user-friendly interface.") + (license license:gpl3+))) + (define-public emacs-ivy (package (name "emacs-ivy") -- 2.25.1 --=-=-=--