diff options
author | Alex Kost <alezost@gmail.com> | 2015-09-15 21:27:44 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-09-18 21:41:23 +0300 |
commit | eda1cc8b5d68189166e1d61142aa84e5af4187c7 (patch) | |
tree | 356dfd1bde69199f0d102c94655ac2d0a8065c8f /doc | |
parent | c093f9f63a57ae8fa9d230249f0b724f80763dc5 (diff) | |
download | gnu-guix-eda1cc8b5d68189166e1d61142aa84e5af4187c7.tar gnu-guix-eda1cc8b5d68189166e1d61142aa84e5af4187c7.tar.gz |
emacs: Add commands to show/hide build log phases.
Suggested by Ludovic Courtès <ludo@gnu.org>.
* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): New
variable.
(guix-build-log-phase-start, guix-build-log-phase-end,
guix-build-log-phase-hide, guix-build-log-phase-show,
guix-build-log-phase-hidden-p, guix-build-log-phase-toggle-function,
guix-build-log-phase-toggle, guix-build-log-phase-toggle-all): New functions.
(guix-build-log-mode-map): Add 'TAB'/'S-TAB' key bindings.
* doc/emacs.texi (Emacs Build Log): Document them.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi index 33bdbd23d9..67773466a4 100644 --- a/doc/emacs.texi +++ b/doc/emacs.texi @@ -591,6 +591,12 @@ Move to the next build phase. @item M-p Move to the previous build phase. +@item @key{TAB} +Toggle (show/hide) the body of the current build phase. + +@item S-@key{TAB} +Toggle (show/hide) the bodies of all build phases. + @end table There is also @kbd{M-x guix-build-log-minor-mode} which also provides |