aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-build-log.el
Commit message (Collapse)AuthorAge
* emacs: Add 'guix-build-log-find-file'.Alex Kost2015-12-09
| | | | | * emacs/guix-build-log.el (guix-build-log-find-file): New procedure. * emacs/guix-command.el (guix-run-view-build-log): Use it.
* emacs: Enable 'guix-build-log-minor-mode' in shell buffers.Alex Kost2015-11-02
| | | | | | | * 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.
* emacs: Enable 'guix-build-log-mode' for build log files.Alex Kost2015-11-02
| | | | | * emacs/guix-build-log.el (auto-mode-alist): Add 'guix-build-log-mode' to 'auto-mode-alist'.
* emacs: Disable minor modes in 'guix-build-log-mode'.Alex Kost2015-10-31
| | | | | | | | * 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.
* emacs: Add key bindings for 'guix-build-log-minor-mode'.Alex Kost2015-10-31
| | | | | | | | * 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.
* emacs: Fix 'guix-build-log-phase-toggle-all'.Alex Kost2015-10-09
| | | | | | | | * 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.
* emacs: build-log: Improve regexp for the phase end.Alex Kost2015-09-25
| | | | | * emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle fractional number of seconds (like "0.8").
* emacs: Add commands to show/hide build log phases.Alex Kost2015-09-18
| | | | | | | | | | | | | 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.
* emacs: Add modes for viewing build logs.Alex Kost2015-09-15
* 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.