emacs: Improve key bindings for marking the packages.

Use "U" to upgrade the current package, "^" to upgrade all.

* emacs/guix-list.el: (guix-list-unmark): With prefix, mark all.
  (guix-package-list-mark-outputs): New procedure.
  (guix-package-list-mark-install, guix-package-list-mark-delete)
  (guix-package-list-mark-upgrade): Use it.
  (guix-package-list-mark-upgrades): New command.
* doc/emacs.texi (emacs List buffer): Update the manual accordingly.
This commit is contained in:
Alex Kost 2014-09-06 18:00:45 +04:00
parent db60b1d9ff
commit 91cc37a1e3
2 changed files with 75 additions and 37 deletions

View file

@ -163,11 +163,9 @@ Mark the current entry.
@item M
Mark all entries.
@item u
Unmark the current entry.
Unmark the current entry (with prefix, unmark all entries).
@item @key{DEL}
Unmark backward.
@item U
Unmark all entries.
@item S
Sort entries by a specified column.
@end table
@ -179,12 +177,16 @@ A ``package-list'' buffer additionally provides the following bindings:
Describe marked packages (display available information in a
``package-info'' buffer).
@item i
Mark a package for installation (with prefix, prompt for output(s) to
install).
Mark "out" of the current package for installation (with prefix, prompt
for output(s) to install).
@item d
Mark a package for deletion.
Mark all installed outputs of the current package for deletion (with
prefix, prompt for output(s) to delete).
@item U
Mark all installed outputs of the current package for upgrading (with
prefix, prompt for output(s) to upgrade).
@item ^
Mark a package for upgrading.
Mark all obsolete packages for upgrading.
@item x
Execute actions on marked packages.
@end table