unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] emacs: Add 'guix-build-log-mode' and friends.
@ 2015-09-13 19:39 Alex Kost
  2015-09-13 19:39 ` [PATCH 1/3] emacs: Display guix command errors in the minibuffer Alex Kost
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Alex Kost @ 2015-09-13 19:39 UTC (permalink / raw)
  To: guix-devel

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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-09-18  9:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-13 19:39 [PATCH 0/3] emacs: Add 'guix-build-log-mode' and friends Alex Kost
2015-09-13 19:39 ` [PATCH 1/3] emacs: Display guix command errors in the minibuffer Alex Kost
2015-09-14  7:22   ` Alex Kost
2015-09-14 11:55     ` Ludovic Courtès
2015-09-14 11:54   ` Ludovic Courtès
2015-09-13 19:39 ` [PATCH 2/3] emacs: Add modes for viewing build logs Alex Kost
2015-09-14 12:01   ` Ludovic Courtès
2015-09-14 12:02   ` Ludovic Courtès
2015-09-15 12:21     ` Alex Kost
2015-09-15 18:56     ` [PATCH] emacs: Add commands to show/hide build log phases Alex Kost
2015-09-18  9:42       ` Ludovic Courtès
2015-09-13 19:39 ` [PATCH 3/3] emacs: Add "View build log" action to build popup Alex Kost
2015-09-14 12:03   ` Ludovic Courtès
2015-09-14 11:54 ` [PATCH 0/3] emacs: Add 'guix-build-log-mode' and friends Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).