From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 7/7] emacs: Add interface for licenses. Date: Sat, 23 Jan 2016 18:17:53 +0100 Message-ID: <87h9i4w6ym.fsf@gnu.org> References: <1453450775-594-1-git-send-email-alezost@gmail.com> <1453450775-594-8-git-send-email-alezost@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]:44292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aN1p1-0007DA-BG for guix-devel@gnu.org; Sat, 23 Jan 2016 12:18:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aN1oy-0003lh-5f for guix-devel@gnu.org; Sat, 23 Jan 2016 12:17:59 -0500 In-Reply-To: <1453450775-594-8-git-send-email-alezost@gmail.com> (Alex Kost's message of "Fri, 22 Jan 2016 11:19:35 +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: > * emacs/guix-main.scm (%license-param-alist): New variable. > (license->sexp, find-licenses, license-entries): New procedures. > * emacs/guix-license.el (guix-license-get-entries) > (guix-license-get-display, guix-license-insert-packages-button) > (guix-license-insert-comment, guix-license-list-describe) > (guix-license-list-show-packages): New procedures. > (guix-licenses): New command. > * doc/emacs.texi (Emacs Licenses): New node. > (Emacs Interface): Add it. > * doc/guix.texi (Top): Add it. > * NEWS: Mention new interface. [...] > +@node Emacs Licenses > +@section Licenses > + > +If you want to browse an URL of a particular license, or to look at a s/an URL/the URL/ > +list of licenses, you may use the following commands: > + > +@table @kbd > + > +@item M-x guix-browse-license-url > +Choose a license from a completion list to browse its URL using > +@code{browse-url} function (@pxref{Browse-URL,,, emacs, The GNU Emacs > +Manual}). > + > +@item M-x guix-licenses > +Display a list of available licenses. You can press @kbd{@key{RET}} > +there to display packages with this license in the same way as @kbd{M-x > +guix-packages-by-license} would do (@pxref{Emacs Commands}). > + > +@end table Otherwise LGTM! This is going to be very useful for packagers. Thank you for the great idea! Ludo=E2=80=99.