aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-command.el
AgeCommit message (Expand)Author
2016-02-01emacs: command: Disambiguate "w" key in build options....This is a followup to commit 47c0f92c37dc7d50d9d4598ce5b91c4cdfec6ed1. * emacs/guix-command.el (guix-command-improve-common-build-argument): Use "W" key for '--with-input' option (leave "w" for '--with-source'). Alex Kost
2016-01-29guix system: Rename 'dmd-graph' to 'shepherd-graph'....* doc/images/dmd-graph.dot: Rename to... * doc/images/shepherd-graph.dot: ... this. * doc.am (DOT_FILES): Adjust accordingly. * guix/scripts/system.scm (dmd-service-node-label) (dmd-service-node-type, export-dmd-graph): Rename to... (shepherd-service-node-label, shepherd-service-node-type) (export-shepherd-graph): ... this. (show-help, process-action, process-command): Rename 'dmd-graph' to 'shepherd-graph'. * emacs/guix-command.el (guix-command-additional-execute-arguments) (guix-command-special-executors): Likewise. * doc/guix.texi: Likewise. * doc/emacs.texi (Emacs Popup Interface): Likewise. Alex Kost
2016-01-13emacs: Complete --file in 'guix build' popup....* emacs/guix-command.el (guix-command-improve-build-argument): Use 'guix-read-file-name' to complete --file option. Alex Kost
2016-01-02emacs: Use "cl-list*" instead of "apply #'list"....* emacs/guix-command.el (guix-run-view-build-log): Use cl-list*. (guix-run-view-size-map): Likewise. * emacs/guix-external.el (guix-dot-arguments): Likewise. Alex Kost
2015-12-09emacs: Fix '--rounds' option in command popups....* emacs/guix-command.el (guix-command-improve-common-build-argument): Use "R" key for '--rounds' option to avoid conflicts with "r" key in 'build' popup (--root) and 'package' popup (--remove). Alex Kost
2015-12-09emacs: Add 'guix-build-log-find-file'....* emacs/guix-build-log.el (guix-build-log-find-file): New procedure. * emacs/guix-command.el (guix-run-view-build-log): Use it. Alex Kost
2015-12-06emacs: Complete --profile in 'guix package' popup....* emacs/guix-command.el (guix-command-improve-package-argument): Use 'guix-read-file-name' to complete --profile option. Alex Kost
2015-11-12emacs: Adjust 'guix environment' popup....* emacs/guix-command.el (guix-command-improve-environment-argument): Use "E" for '--expose' and "S" for '--share' to distinguish them from '--expression' and '--system' accordingly. Make '--ad-hoc' an option taking packages instead of a simple switch. (guix-command-rest-argument): Complete shell command instead of packages for '--' argument. (guix-command-additional-arguments): Add fake 'packages' argument. New variable. (guix-command-additional-arguments): Use it. (guix-command-post-process-environment-packages, guix-command-post-process-environment-ad-hoc): New functions. (guix-command-post-processors): Add "environment" command with the new argument processors. Alex Kost
2015-11-12emacs: Adjust 'guix container' popup....* emacs/guix-command.el (guix-command-improve-action-argument): Use "C" key for 'container' action to distinguish it from 'challenge'. (guix-command-rest-argument): Add positional arguments. Alex Kost
2015-11-12emacs: Improve post processing of popup arguments....* emacs/guix-command.el (guix-command-switches, guix-command-rest-arg-regexp): New variables. (guix-command-post-processors, guix-command-post-process-matching-args, guix-command-post-process-rest-single, guix-command-post-process-rest-multiple, guix-command-post-process-rest-multiple-leave, guix-command-post-process-package-args): New functions. (guix-command-post-process-rest-multiple): Take 2 arguments. (guix-command-define-popup-action): Adjust accordingly. * emacs/guix-utils.el (guix-modify): New function. Alex Kost
2015-11-02emacs: Add completions for '--type' option of 'refresh' popup....* guix/scripts/refresh.scm: Export '%updaters'. * emacs/guix-main.scm (refresh-updater-names): New procedure. * emacs/guix-base.el (guix-refresh-updater-names): New function. * emacs/guix-read.el (guix-read-refresh-updater-names, guix-read-refresh-updater-names-string): New functions. * emacs/guix-command.el (guix-command-improve-refresh-argument): Use 'guix-read-refresh-updater-names-string'. Alex Kost
2015-10-27emacs: Add "Packages" option for 'guix challenge' popup....* emacs/guix-command.el (guix-command-rest-argument): Add "challenge". Alex Kost
2015-10-16emacs: 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. Alex Kost
2015-10-16emacs: 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'). Alex Kost
2015-09-23emacs: 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. Alex Kost
2015-09-22emacs: 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. Alex Kost
2015-09-18emacs: 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'. Alex Kost
2015-09-15emacs: 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. Alex Kost
2015-09-02emacs: 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. Alex Kost
2015-09-01emacs: 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. Alex Kost
2015-08-30emacs: 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. Alex Kost
2015-08-30emacs: 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. Alex Kost