Alex Kost <alez...@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’.