Alex Kost
727495757f
emacs: Add "View graph" actions to system graph commands.
...
* emacs/guix-command.el (guix-command-additional-execute-arguments,
guix-command-special-executors): Add "View graph" actions for
'dmd-graph' and 'extension-graph' commands.
2015-10-16 17:24:13 +03:00
Alex Kost
e0c5309a83
emacs: Disambiguate "d" key in 'system' popup.
...
* emacs/guix-command.el (guix-command-improve-system-argument): Use "D"
key for 'disk-image' action (leave "d" for 'dmd-graph').
2015-10-16 17:14:57 +03:00
Alex Kost
6f05a24df3
emacs: Add "View map" action to 'size' popup.
...
* emacs/guix-command.el (guix-run-view-size-map): New function.
(guix-command-additional-execute-arguments,
guix-command-special-executors): Add entries for "View map" action.
2015-09-23 13:36:22 +03:00
Alex Kost
c74cd6cc12
emacs: Move guile related code to "guix-guile.el".
...
* emacs/guix-backend.el (guix-make-guile-expression): Move to...
* emacs/guix-guile.el: ... here. New file.
* emacs/guix-base.el: Use it.
* emacs/guix-command.el: Use it.
* emacs.am (ELFILES): Add it.
2015-09-22 22:05:09 +03:00
Alex Kost
b2cb869cf9
emacs: Replace 'guix-any' with 'cl-some'.
...
* emacs/guix-utils.el (guix-any): Remove.
* emacs/guix-command.el (guix-command-improve-argument): Use 'cl-some'
instead of 'guix-any'.
2015-09-18 21:41:46 +03:00
Alex Kost
83d95c7b36
emacs: Add "View build log" action to build popup.
...
* emacs/guix-command.el (guix-run-view-build-log): New function.
(guix-command-additional-execute-arguments,
guix-command-special-executors): Add entries for "View build log"
action.
* emacs/guix-utils.el (guix-find-file-or-url): New function.
2015-09-15 15:19:31 +03:00
Alex Kost
d1f80aa401
emacs: Use "r" key for 'cran' action in 'import' popup.
...
* emacs/guix-command.el (guix-command-improve-import-argument): New
variable and function.
(guix-command-argument-improvers): Add it.
2015-09-02 17:00:06 +03:00
Alex Kost
761d6fd9c1
emacs: Add "View graph" action to graph popup.
...
* emacs/guix-command.el: Require 'guix-external'.
(guix-run-view-graph): New function.
(guix-command-additional-execute-arguments,
guix-command-special-executors): Add entries for "View graph" action.
2015-09-01 13:03:51 +03:00
Alex Kost
eb097f36b1
emacs: Use prompt for packages instead popup for edit action.
...
* emacs/guix-base.el (guix-package-location): New function.
(guix-edit-package): Rename and move to ...
* emacs/guix.el (guix-edit): ...here. Make it interactive.
* emacs/guix-command.el (guix-edit-action): New function (alias to
'guix-edit') to override the popup for edit command in "M-x guix".
* emacs/guix-list.el (guix-list-edit-package): Adjust for 'guix-edit'
renaming.
* emacs/guix-main.scm (package-location-string): Allow to accept package
id or package name as argument.
2015-08-30 18:26:03 +03:00
Alex Kost
9b0afb0d28
emacs: Add popup interface for guix commands.
...
* emacs/guix-command.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Initial Setup): Mention 'magit-popup' library.
(Emacs Popup Interface): New node.
(Emacs Interface): Add it.
* doc/guix.texi (Top): Likewise.
2015-08-30 18:26:03 +03:00