unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 7/7] emacs: Add interface for licenses.
Date: Sat, 23 Jan 2016 18:17:53 +0100	[thread overview]
Message-ID: <87h9i4w6ym.fsf@gnu.org> (raw)
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")

Alex Kost <alezost@gmail.com> 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’.

      reply	other threads:[~2016-01-23 17:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22  8:19 [PATCH 0/7]: Add "M-x guix-licenses" and friends Alex Kost
2016-01-22  8:19 ` [PATCH 1/7] emacs: Rename 'file-path' to 'file-name' Alex Kost
2016-01-23 17:06   ` Ludovic Courtès
2016-01-22  8:19 ` [PATCH 2/7] licenses: Add a list of licenses Alex Kost
2016-01-23 17:08   ` Ludovic Courtès
2016-01-23 22:37     ` Alex Kost
2016-01-24 20:59       ` Ludovic Courtès
2016-01-22  8:19 ` [PATCH 3/7] emacs: Add 'guix-browse-license-url' command Alex Kost
2016-01-23 17:13   ` Ludovic Courtès
2016-01-25 19:18     ` Alex Kost
2016-01-23 17:18   ` Ludovic Courtès
2016-01-23 22:49     ` Alex Kost
2016-01-24 21:00       ` Ludovic Courtès
2016-01-22  8:19 ` [PATCH 4/7] emacs: Buttonize licenses in "Package Info" Alex Kost
2016-01-23 17:14   ` Ludovic Courtès
2016-01-22  8:19 ` [PATCH 5/7] emacs: Add 'guix-packages-by-license' command Alex Kost
2016-01-23 17:15   ` Ludovic Courtès
2016-01-22  8:19 ` [PATCH 6/7] emacs: list: Support displaying URL links Alex Kost
2016-01-23 17:15   ` Ludovic Courtès
2016-01-22  8:19 ` [PATCH 7/7] emacs: Add interface for licenses Alex Kost
2016-01-23 17:17   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9i4w6ym.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).