* [PATCH 0/2] Add 'magit-popup' dependency to the 'guix' package
@ 2016-07-03 7:17 Alex Kost
2016-07-03 7:17 ` [PATCH 1/2] gnu: Add emacs-magit-popup Alex Kost
2016-07-03 7:17 ` [PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs Alex Kost
0 siblings, 2 replies; 5+ messages in thread
From: Alex Kost @ 2016-07-03 7:17 UTC (permalink / raw)
To: guix-devel
As discussed on help-guix list (somewhere near
<http://lists.gnu.org/archive/html/help-guix/2016-06/msg00129.html>), this is
to make it possible to use "M-x guix" by default (currently emacs gives an
error about missing 'magit-popup' unless a user explicitly installs magit).
[PATCH 1/2] gnu: Add emacs-magit-popup.
[PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] gnu: Add emacs-magit-popup.
2016-07-03 7:17 [PATCH 0/2] Add 'magit-popup' dependency to the 'guix' package Alex Kost
@ 2016-07-03 7:17 ` Alex Kost
2016-07-03 21:41 ` Ludovic Courtès
2016-07-03 7:17 ` [PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs Alex Kost
1 sibling, 1 reply; 5+ messages in thread
From: Alex Kost @ 2016-07-03 7:17 UTC (permalink / raw)
To: guix-devel
* gnu/packages/emacs.scm (emacs-magit-popup): New variable.
---
gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0c0182d..0084093 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -562,6 +562,31 @@ operations.")
support for Git-SVN.")
(license license:gpl3+)))
+(define-public emacs-magit-popup
+ (package
+ (name "emacs-magit-popup")
+ (version (package-version magit))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://raw.githubusercontent.com/magit/magit/"
+ version "/lisp/magit-popup.el"))
+ (file-name (string-append "magit-popup-" version ".el"))
+ (sha256
+ (base32
+ "144nl7j5mn86ccan6qxgg40bsxpkbc83vwnhd5y657gqki74972r"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)))
+ (home-page "https://github.com/magit/magit")
+ (synopsis "Define prefix-infix-suffix command combos")
+ (description
+ "This library implements a generic interface for toggling switches and
+setting options and then invoking an Emacs command which does something with
+these arguments. The prototypical use is for the command to call an external
+process, passing on the arguments as command line arguments.")
+ (license license:gpl3+)))
+
(define-public haskell-mode
(package
(name "haskell-mode")
--
2.8.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs.
2016-07-03 7:17 [PATCH 0/2] Add 'magit-popup' dependency to the 'guix' package Alex Kost
2016-07-03 7:17 ` [PATCH 1/2] gnu: Add emacs-magit-popup Alex Kost
@ 2016-07-03 7:17 ` Alex Kost
2016-07-03 21:41 ` Ludovic Courtès
1 sibling, 1 reply; 5+ messages in thread
From: Alex Kost @ 2016-07-03 7:17 UTC (permalink / raw)
To: guix-devel
* gnu/packages/package-management.scm (guix-0.10.0): Add
'emacs-magit-popup' to make it possible to use "M-x guix" command.
---
gnu/packages/package-management.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index f3a1cda..c3035c3 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -192,7 +192,8 @@
(propagated-inputs
`(("gnutls" ,gnutls) ;for 'guix download' & co.
("guile-json" ,guile-json)
- ("geiser" ,geiser))) ;for guix.el
+ ("geiser" ,geiser) ;for guix.el
+ ("emacs-magit-popup" ,emacs-magit-popup))) ;for "M-x guix" command
(home-page "http://www.gnu.org/software/guix")
(synopsis "Functional package manager for installed software packages and versions")
--
2.8.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] gnu: Add emacs-magit-popup.
2016-07-03 7:17 ` [PATCH 1/2] gnu: Add emacs-magit-popup Alex Kost
@ 2016-07-03 21:41 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-03 21:41 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel
Alex Kost <alezost@gmail.com> skribis:
> * gnu/packages/emacs.scm (emacs-magit-popup): New variable.
LGTM, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs.
2016-07-03 7:17 ` [PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs Alex Kost
@ 2016-07-03 21:41 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-03 21:41 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel
Alex Kost <alezost@gmail.com> skribis:
> * gnu/packages/package-management.scm (guix-0.10.0): Add
> 'emacs-magit-popup' to make it possible to use "M-x guix" command.
OK!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-07-03 21:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-03 7:17 [PATCH 0/2] Add 'magit-popup' dependency to the 'guix' package Alex Kost
2016-07-03 7:17 ` [PATCH 1/2] gnu: Add emacs-magit-popup Alex Kost
2016-07-03 21:41 ` Ludovic Courtès
2016-07-03 7:17 ` [PATCH 2/2] gnu: guix: Add emacs-magit-popup to propagated-inputs Alex Kost
2016-07-03 21:41 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.