From: "LaFreniere, Joseph" <joseph@lafreniere.xyz>
To: 40128@debbugs.gnu.org
Subject: [bug#40128] [PATCH 2/2] gnu: Add emacs-major-mode-hydra.
Date: Thu, 19 Mar 2020 00:46:29 -0500 [thread overview]
Message-ID: <87zhccoq16.fsf@lafreniere.xyz> (raw)
In-Reply-To: <871rpoq4tj.fsf@lafreniere.xyz>
[-- Attachment #1: Type: text/plain, Size: 46 bytes --]
Patch file is attached.
--
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: 1671 bytes --]
From 387c56eaf4efe773065175b5db0dda0dc24c8dba Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Wed, 18 Mar 2020 20:59:09 -0500
Subject: [PATCH 2/2] gnu: Add emacs-major-mode-hydra.
* gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable.
gnu: Add emacs-major-mode-hydra.
* gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable.
---
gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 54728d7165..74de919c80 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5610,6 +5610,26 @@ 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
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'add-source-to-load-path 'remove-pretty-hydra
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; pretty-hydra is provided by dependency.
+ (delete-file "pretty-hydra.el")
+ #t)))))
+ (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-ivy
(package
(name "emacs-ivy")
--
2.25.1
next prev parent reply other threads:[~2020-03-19 5:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-19 5:41 [bug#40128] [PATCH 1/2] gnu: Add emacs-pretty-hydra LaFreniere, Joseph
2020-03-19 5:46 ` LaFreniere, Joseph [this message]
2020-03-21 16:41 ` [bug#40128] [PATCH 2/2] gnu: Add emacs-major-mode-hydra Nicolas Goaziou
2020-03-21 23:13 ` LaFreniere, Joseph
2020-03-21 16:38 ` [bug#40128] [PATCH 1/2] gnu: Add emacs-pretty-hydra Nicolas Goaziou
2020-03-21 23:12 ` LaFreniere, Joseph
2020-04-19 17:57 ` LaFreniere, Joseph
2020-04-19 18:28 ` Nicolas Goaziou
2020-04-19 19:24 ` LaFreniere, Joseph
2020-11-21 9:12 ` bug#40128: " Christopher Baines
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=87zhccoq16.fsf@lafreniere.xyz \
--to=joseph@lafreniere.xyz \
--cc=40128@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).