~ruther/guix-local

ref: c725dc4da1d1fa1e052d769355581278b9fe4e2c guix-local/emacs/guix-command.el -rw-r--r-- 31.4 KiB
1ae15c36 — Alex Kost 10 years ago
emacs: 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).
dcb00c0a — Alex Kost 10 years ago
emacs: 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.
9ff17565 — Alex Kost 10 years ago
emacs: Complete --profile in 'guix package' popup.

* emacs/guix-command.el (guix-command-improve-package-argument): Use
  'guix-read-file-name' to complete --profile option.
8b341eb0 — Alex Kost 10 years ago
emacs: 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.
cfa548b4 — Alex Kost 10 years ago
emacs: 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.
959c78f6 — Alex Kost 10 years ago
emacs: 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.
6407ce8e — Alex Kost 10 years ago
emacs: 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'.
eed588d9 — 宋文武 10 years ago
Merge branch 'master' into dbus-update
e1d33186 — Alex Kost 10 years ago
emacs: Add "Packages" option for 'guix challenge' popup.

* emacs/guix-command.el (guix-command-rest-argument): Add "challenge".
ccb52232 — Mark H Weaver 10 years ago
Merge branch 'master' into dbus-update
72749575 — Alex Kost 10 years ago
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.
e0c5309a — Alex Kost 10 years ago
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').
1007b6bf — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
6f05a24d — Alex Kost 10 years ago
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.
bd90127a — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
c74cd6cc — Alex Kost 10 years ago
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.
b2cb869c — Alex Kost 10 years ago
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'.
83d95c7b — Alex Kost 10 years ago
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.
75710da6 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
d1f80aa4 — Alex Kost 10 years ago
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.
Next