summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-04-01 23:53:20 +0300
committerAlex Kost <alezost@gmail.com>2016-04-18 10:09:02 +0300
commitb4b9975d4abf8ee7d4f3762e5e6aea656cbeb61f (patch)
tree6db3717381dab362ef2ffa1acf01eaf9cd448a65 /doc
parentb5e3cbbb248f3f5096c9d83d9db586db08d52b04 (diff)
emacs: Add interface for package locations.
* emacs/guix-main.scm (%package-location-param-alist): New variable. (package-location->sexp, package-location-entries): New procedures. * emacs/guix-ui-location.el: New file. * emacs.am (ELFILES): Add it. * doc/emacs.texi (Emacs Package Locations): Document 'guix-locations'. * NEWS: Mention it.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi
index a4f77a1ca8..ed8896ad43 100644
--- a/doc/emacs.texi
+++ b/doc/emacs.texi
@@ -556,6 +556,13 @@ get lost in these locations:
@table @kbd
+@item M-x guix-locations
+Display a list of package locations. You can press @key{RET} there to
+display packages placed in the current location in the same way as
+@kbd{M-x guix-packages-by-location} would do (@pxref{Emacs Commands}).
+Note that when the point is on a location button, @key{RET} will open
+this location file.
+
@item M-x guix-find-location
Open the given package definition source file (press @key{TAB} to choose
a location from a completion list).