From cb6a5c71d875fff6f1c3b2bd1e43c31cc7cfe1ac Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sun, 5 Oct 2014 12:31:23 +0400 Subject: emacs: Add support for deleting generations. * doc/emacs.texi (emacs List buffer): Mention new key bindings. * emacs/guix-base.el (guix-delete-generations): New procedure. * emacs/guix-info.el (guix-generation-info-insert-number): Use it. * emacs/guix-list.el (guix-generation-list-mark-delete, guix-generation-list-execute): New procedures. * emacs/guix-main.scm (delete-generations*): New procedure. --- doc/emacs.texi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/emacs.texi') diff --git a/doc/emacs.texi b/doc/emacs.texi index 3c5698f571..2e6b60ec77 100644 --- a/doc/emacs.texi +++ b/doc/emacs.texi @@ -105,8 +105,8 @@ many last generations. @end table By default commands for displaying packages display each output on a -separate line. If you prefer to see a list of packages (i.e.@: a list -with a package per line), use the following setting: +separate line. If you prefer to see a list of packages---i.e., a list +with a package per line, use the following setting: @example (setq guix-package-list-type 'package) @@ -205,6 +205,11 @@ List packages installed in the current generation. @item i Describe marked generations (display available information in a ``generation-info'' buffer). +@item d +Mark the current generation for deletion (with prefix, mark all +generations). +@item x +Execute actions on the marked generations---i.e., delete generations. @end table @node emacs Info buffer -- cgit v1.2.3