emacs: Add 'guix-packages-by-location' command.
authorAlex Kost <alezost@gmail.com>
Thu, 31 Mar 2016 21:07:33 +0000 (00:07 +0300)
committerAlex Kost <alezost@gmail.com>
Mon, 18 Apr 2016 07:09:01 +0000 (10:09 +0300)
commitb4ea535a9f0382f3575fdeb3b2eb1cc7cfc37cd4
tree377f4156c3c6e51dcf9c2cbaa80124f83aafec02
parent9bb46c155b463029f3da84d1b146efa79785a4ac
emacs: Add 'guix-packages-by-location' command.

* emacs/guix-main.scm (packages-by-location-file, package-location-files):
New procedures.
(%patterns-makers): Add 'location' search type.
* emacs/guix-messages.el (guix-message-packages-by-location): New procedure.
(guix-messages): Use it.
* emacs/guix-read.el (guix-package-locations)
(guix-read-package-location): New procedures.
* emacs/guix-ui-package.el (guix-packages-by-location): New command.
* doc/emacs.texi (Emacs Commands): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
doc/emacs.texi
emacs/guix-main.scm
emacs/guix-messages.el
emacs/guix-read.el
emacs/guix-ui-package.el