From: Joseph LaFreniere <joseph@lafreniere.xyz>
To: 42525@debbugs.gnu.org
Subject: [bug#42525] [PATCH 2/2] gnu: Add emacs-major-mode-hydra.
Date: Fri, 24 Jul 2020 21:10:25 -0500 [thread overview]
Message-ID: <87lfj8gx9q.fsf@odyssey.lafreniere.xyz> (raw)
In-Reply-To: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz>
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
Patch file is attached. Similar to the first patch in this
series, `guix lint` reports "the source file name should contain
the package name".
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-emacs-major-mode-hydra.patch --]
[-- Type: text/x-patch, Size: 1310 bytes --]
From 0e528063cdc3a768059cb0be5c8430506b756b6e Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sat, 18 Jul 2020 12:50:22 -0500
Subject: [PATCH 2/2] gnu: Add emacs-major-mode-hydra.
* gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable.
---
gnu/packages/emacs-xyz.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 147c6b476b..649f856a83 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -677,6 +677,20 @@ 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-major-mode-hydra
+ (package
+ (inherit emacs-pretty-hydra)
+ (name "emacs-major-mode-hydra")
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-pretty-hydra" ,emacs-pretty-hydra)))
+ (arguments
+ `(#:include '("^major-mode-hydra\\.el$")))
+ (synopsis "Create nice-looking hydras")
+ (description
+ "This package provides the macro @code{pretty-hydra-define} to define
+hydras with one column per group of heads.")))
+
(define-public emacs-minions
(package
(name "emacs-minions")
--
2.27.0
next prev parent reply other threads:[~2020-07-25 2:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-25 2:04 [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra Joseph LaFreniere
2020-07-25 2:10 ` Joseph LaFreniere [this message]
2020-07-25 13:28 ` [bug#42525] [PATCH 2/2] gnu: Add emacs-major-mode-hydra Oleg Pykhalov
2020-07-25 15:02 ` LaFreniere, Joseph
2020-12-18 13:24 ` bug#42525: " Ludovic Courtès
2020-07-25 13:20 ` [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra Oleg Pykhalov
2020-07-25 14:57 ` LaFreniere, Joseph
2020-07-25 15:05 ` LaFreniere, Joseph
2020-07-25 18:34 ` Oleg Pykhalov
2020-07-26 14:04 ` 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=87lfj8gx9q.fsf@odyssey.lafreniere.xyz \
--to=joseph@lafreniere.xyz \
--cc=42525@debbugs.gnu.org \
/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).