guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] emacs: Add 'guix-build-log-mode' and friends.


From: Alex Kost
Subject: [PATCH 0/3] emacs: Add 'guix-build-log-mode' and friends.
Date: Sun, 13 Sep 2015 22:39:18 +0300

Ludovic Courtès (2015-09-11 00:55 +0300) wrote:

> ‘guix build --log-file’ can now return URLs of remote build logs:
>
>   $ ./pre-inst-env guix build --log-file gdb -s mips64el-linux 
>   http://hydra.gnu.org/log/qzcw62lnvijv1qmdn66mjdk06y9ffh4p-gdb-7.10
>
> (Works best in Emacs shell-mode where you can C-x C-f on the URL to open
> it in a browser.)

Or "M-x browse-url-emacs" on the URL and open it in Emacs.

> Enjoy!

Wow, thanks, I enjoy it!  I didn't notice ‘--log-file’ before (shame on
me).  Now it is really useful!  So this pushed me to add major and minor
modes for highlighting build logs and to add an alternative way to
receive/view them in Emacs (through "M-x guix RET b" popup).

(Unluckily, hydra is not very fast and responsive, so receiving big logs
may take much time.)

Patches:

[PATCH 1/3] emacs: Display guix command errors in the minibuffer.
[PATCH 2/3] emacs: Add modes for viewing build logs.
[PATCH 3/3] emacs: Add "View build log" action to build popup.

The first patch is an auxiliary one to print guix warnings/errors in the
Emacs minibuffer.  For example, when hydra does not have a log, a user
will see:

  guix build: error: no build log for 
'/gnu/store/g785jl0pgi4gfvbqa0w3mzxhlkji9jz7-emms-4.0.drv'

in the minibuffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]