From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/3] emacs: Add "Source" field to 'guix-info' buffers. Date: Sun, 09 Nov 2014 18:45:56 +0100 Message-ID: <87lhnktgh7.fsf@gnu.org> References: <87egtcbwd0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnWYy-0008Bz-HT for guix-devel@gnu.org; Sun, 09 Nov 2014 12:46:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnWYp-0006be-CY for guix-devel@gnu.org; Sun, 09 Nov 2014 12:46:08 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:51225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnWYp-0006bV-60 for guix-devel@gnu.org; Sun, 09 Nov 2014 12:45:59 -0500 In-Reply-To: <87egtcbwd0.fsf@gmail.com> (Alex Kost's message of "Sun, 09 Nov 2014 11:40:11 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > This patch adds URL of a package source and 2 buttons ("Show" and > "Download") to an =E2=80=98info=E2=80=99 buffer (see the attached screens= hot). > > Pushing the "Show" button displays a store path of the package source. > Pushing the "Download" button has the same meaning as =E2=80=9Cguix build= -S =E2=80=A6=E2=80=9D. This is very cool! I had in mind a slightly simpler user interface: just a =E2=80=9CView sourc= e=E2=80=9D button. The thing would build (package-source-derivation p), effectively downloading it if it=E2=80=99s not already present, and opening= it in dired. With the interface you propose, things might be slightly confusing: sometimes clicking on =E2=80=9CDownload=E2=80=9D will do nothing (because t= he source is already there), sometime =E2=80=9CShow=E2=80=9D will work without =E2=80=9C= Download=E2=80=9D, sometimes not, etc. Also it takes up quite a bit of space. WDYT? Thanks, Ludo=E2=80=99.