guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/3] emacs: Add "Source" field to 'guix-info' buffers.


From: Ludovic Courtès
Subject: Re: [PATCH 3/3] emacs: Add "Source" field to 'guix-info' buffers.
Date: Sun, 09 Nov 2014 18:45:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Alex Kost <address@hidden> skribis:

> This patch adds URL of a package source and 2 buttons ("Show" and
> "Download") to an ‘info’ buffer (see the attached screenshot).
>
> Pushing the "Show" button displays a store path of the package source.
> Pushing the "Download" button has the same meaning as “guix build -S …”.

This is very cool!

I had in mind a slightly simpler user interface: just a “View source”
button.  The thing would build (package-source-derivation p),
effectively downloading it if it’s not already present, and opening it
in dired.

With the interface you propose, things might be slightly confusing:
sometimes clicking on “Download” will do nothing (because the source is
already there), sometime “Show” will work without “Download”, sometimes
not, etc.  Also it takes up quite a bit of space.

WDYT?

Thanks,
Ludo’.



reply via email to

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