Ludovic Courtès (2016-05-31 00:17 +0300) wrote:

> Alex Kost <alez...@gmail.com> skribis:
>
>> * emacs/guix-main.scm (package-build-log-file): New procedure.
>> * emacs/guix-ui-package.el (guix-package-build-log-file)
>> (guix-package-find-build-log)
>> (guix-package-info-insert-build-log-button): New procedures.
>> (guix-package-info-button-functions): Add
>> 'guix-package-info-insert-build-log-button'.
>
> OK!

Thanks, I've pushed this patchset.

> I think having this extra info and extra buttons is nice.  I wonder
> though if in the future we should have a way to hide non-essential info
> and buttons, so that someone who just wants to search and install/remove
> software isn’t overwhelmed.
>
> What are your thoughts?

I agree that there may be too much buttons for a new user, but I
wouldn't like to hide features by default.  For users, there is
'guix-package-info-format' variable.  It is a bit complicated but it
allows to control any aspect of *Guix Package Info* buffer.  For
example, one could hide all non-essential info like this:

(setq guix-package-info-format
      '(guix-package-info-insert-heading
        (outputs ignore guix-package-info-insert-outputs)))

-- 
Alex

Reply via email to