Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.

2016-01-25 Thread Alex Kost
Ludovic Courtès (2016-01-23 20:13 +0300) wrote: > Alex Kost skribis: > >> * emacs/guix-main.scm (license-names, license-name->license) >> (license-name->uri): New procedures. >> * emacs/guix-read.el (guix-license-names, guix-read-license-name): New >> procedures. >> * emacs/guix-license.el: N

Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.

2016-01-24 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2016-01-23 20:18 +0300) wrote: > >> Alex Kost skribis: >> >>> +(define license-name->license >> >> I just realized that I’d rather call it ‘lookup-license’ for >> consistency, because it’s not a conversion. > > OK, I'll rename it, and what about: > > (define

Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.

2016-01-23 Thread Alex Kost
Ludovic Courtès (2016-01-23 20:18 +0300) wrote: > Alex Kost skribis: > >> +(define license-name->license > > I just realized that I’d rather call it ‘lookup-license’ for > consistency, because it’s not a conversion. OK, I'll rename it, and what about: (define (license-name->uri name) (and=> (

Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.

2016-01-23 Thread Ludovic Courtès
Alex Kost skribis: > +(define license-name->license I just realized that I’d rather call it ‘lookup-license’ for consistency, because it’s not a conversion. Ludo’.

Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.

2016-01-23 Thread Ludovic Courtès
Alex Kost skribis: > * emacs/guix-main.scm (license-names, license-name->license) > (license-name->uri): New procedures. > * emacs/guix-read.el (guix-license-names, guix-read-license-name): New > procedures. > * emacs/guix-license.el: New file. > * emacs.am (ELFILES): Add it. [...] > +;;; L