summaryrefslogtreecommitdiff
path: root/emacs/guix-build-log.el
AgeCommit message (Collapse)Author
2015-12-09emacs: Add 'guix-build-log-find-file'.Alex Kost
* emacs/guix-build-log.el (guix-build-log-find-file): New procedure. * emacs/guix-command.el (guix-run-view-build-log): Use it.
2015-11-02emacs: Enable 'guix-build-log-minor-mode' in shell buffers.Alex Kost
* emacs/guix-build-log.el (guix-build-log-minor-mode-activate): New variable. (guix-build-log-minor-mode-activate-maybe): New function. * emacs/guix-init.el: Add it to 'shell-mode-hook'. * doc/emacs.texi (Emacs Build Log): Mention it.
2015-11-02emacs: Enable 'guix-build-log-mode' for build log files.Alex Kost
* emacs/guix-build-log.el (auto-mode-alist): Add 'guix-build-log-mode' to 'auto-mode-alist'.
2015-10-31emacs: Disable minor modes in 'guix-build-log-mode'.Alex Kost
* emacs/guix-build-log.el (guix-build-log-mode-hook): Remove 'compilation-shell-minor-mode' as it is slow on big buffers, and 'view-mode' as it rebinds too many keys. (guix-build-log-mode-map): Add "c" and "v" key bindings for the removed minor modes.
2015-10-31emacs: Add key bindings for 'guix-build-log-minor-mode'.Alex Kost
* emacs/guix-build-log.el (guix-build-log-mode-map): Move keys to ... (guix-build-log-common-map): ...here. New variable. (guix-build-log-minor-mode-map): New variable. (guix-build-log-minor-mode): Use it. * doc/emacs.texi (Emacs Build Log): Document it.
2015-10-09emacs: Fix 'guix-build-log-phase-toggle-all'.Alex Kost
* emacs/guix-build-log.el (guix-build-log-phase-toggle-all): Handle the case when there are no characters before the first phase: 'guix-build-log-next-phase' moves to the second phase in such a case, and the toggling is not done properly, so use 're-search-forward' instead.
2015-09-25emacs: build-log: Improve regexp for the phase end.Alex Kost
* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle fractional number of seconds (like "0.8").
2015-09-18emacs: Add commands to show/hide build log phases.Alex Kost
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.
2015-09-15emacs: Add modes for viewing build logs.Alex Kost
* emacs/guix-build-log.el: New file. * emacs.am (ELFILES): Add it. * doc/emacs.texi (Emacs Build Log): Document it. New node. (Emacs Interface): Add it. * doc/guix.texi (Top): Likewise.