summaryrefslogtreecommitdiff
path: root/emacs/guix-build-log.el
Commit message (Expand)AuthorAgeFilesLines
* emacs: Autoload hooks instead of putting them in 'guix-init'.•••* emacs/guix-init.el: Move adding hooks to... * emacs/guix-build-log.el: ... here. * emacs/guix-devel.el: ... and here. Alex Kost2016-02-181-0/+3
* emacs: Add 'guix-build-log-find-file'.•••* emacs/guix-build-log.el (guix-build-log-find-file): New procedure. * emacs/guix-command.el (guix-run-view-build-log): Use it. Alex Kost2015-12-091-0/+7
* emacs: Enable 'guix-build-log-minor-mode' in shell buffers.•••* 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. Alex Kost2015-11-021-0/+13
* emacs: Enable 'guix-build-log-mode' for build log files.•••* emacs/guix-build-log.el (auto-mode-alist): Add 'guix-build-log-mode' to 'auto-mode-alist'. Alex Kost2015-11-021-0/+7
* emacs: Disable minor modes in 'guix-build-log-mode'.•••* 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. Alex Kost2015-10-311-4/+3
* emacs: Add key bindings for 'guix-build-log-minor-mode'.•••* 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. Alex Kost2015-10-311-3/+21
* emacs: Fix 'guix-build-log-phase-toggle-all'.•••* 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. Alex Kost2015-10-091-2/+3
* emacs: build-log: Improve regexp for the phase end.•••* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle fractional number of seconds (like "0.8"). Alex Kost2015-09-251-1/+1
* 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. Alex Kost2015-09-181-0/+81
* emacs: Add modes for viewing build logs.•••* 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. Alex Kost2015-09-151-0/+252