As a user can move to a package definition (with "guix edit"), (s)he can also want to go to a license definition (why not?). This patchset adds this possibility in 3 places:
1. As a standalone command (analog of "M-x guix-edit"): M-x guix-find-license-definition Or maybe it should be called "guix-license-edit" and "guix-edit" should be renamed (aliased) to "guix-package-edit"? Or to "guix-find-package-definition"? Just to mention, I changed my opinion on the bug#22587¹: now I think "edit" is not a good name for displaying a package recipe. 2. As a button to *Guix License Info* buffer (this buffer appears, for example, when you press a license button in a *Guix Package Info* buffer). 3. As an "e" key in *Guix Licenses* buffer (this buffer appears after "M-x guix-licenses"). I bound it to "e" because it is essentially the same thing as "edit" for packages, which is bound to "e" in a *Guix Package List* buffer. I don't like "e" key actually, but it is for the same "edit" bug. [PATCH 1/3] emacs: Add 'guix-find-license-definition' command. [PATCH 2/3] emacs: Add license definition button to License Info. [PATCH 3/3] emacs: Add "edit" command to a list of licenses. ¹ http://bugs.gnu.org/22587