~ruther/guix-local

ref: fb3c855381eba87725da33fbd936bb9734a40ccf guix-local/emacs d---------
c0d2e7b1 — Mathieu Lirzin 10 years ago
build: Use "%D%" in Makefile fragments.

* doc/local.mk: Use "%D%" for the directory of the fragment relative to
the base 'Makefile.am'.
* emacs/local.mk: Likewise.
* gnu/local.mk: Likewise.
* nix/local.mk: Likewise.
9f5e7967 — Mark H Weaver 10 years ago
Merge branch 'master' into gnome-updates
f8476e17 — Alex Kost 10 years ago
emacs: Add 'guix-package-from-file' command.

* emacs/guix-main.scm (register-package, packages-from-file): New procedures.
(%patterns-makers): Add 'from-file' search type.
* emacs/guix-messages.el (guix-messages): Add messages for it.
* emacs/guix-ui-package.el (guix-package-from-file): New command.
(guix-package-info-insert-location): Adjust for 'from-file' type.
* doc/emacs.texi (Emacs Commands): Document it.
3be33289 — Alex Kost 10 years ago
emacs: main: Remove top-level package tables.

* emacs/guix-main.scm (%package-vhash, package-vhash, %package-table)
(package-table, name+version->key, key->name+version): Remove.
(package-by-address, packages-by-name+version): Adjust by using delayed
local package tables.
10b0c31d — Alex Kost 10 years ago
emacs: Simplify 'guix-guile-boolean'.

* emacs/guix-guile.el (guix-guile-boolean): Use straightforward way to
  define true/false value.
e3dba5ac — Alex Kost 10 years ago
emacs: Add 'guix-version' command.

* emacs/guix-config.el.in (guix-config-name, guix-config-version): New
  constants.
* emacs/guix-about.el (guix-version): New command.  New file.
* emacs/local.mk (ELFILES): Add it.
6655a743 — 宋文武 10 years ago
Merge branch 'master' into gnome-updates
86670ca4 — Alex Kost 10 years ago
emacs: main: Use (guix combinators).

Reported by rsiddharth on #guix.
This is a followup to commit 958dd3ce68733bcd5c1231424c7e4ad39e67594a.

* emacs/guix-main.scm: Use (guix combinators) module as 'memoize' moved there.
557361e7 — Alex Kost 10 years ago
emacs: Add "edit" command to a list of licenses.

* emacs/guix-ui-license.el (guix-license-list-edit): New command.
(guix-license-list-mode-map): Bind it to "e" key.
57748c27 — Alex Kost 10 years ago
emacs: Add license definition button to License Info buffer.

* emacs/guix-ui-license.el (guix-license-insert-file): New procedure.
(guix-license-info-format): Use it.
8472b2fd — Alex Kost 10 years ago
emacs: Add 'guix-find-license-definition' command.

* emacs/guix-license.el (guix-license-file): New procedure.
(guix-find-license-definition): New command.
* doc/emacs.texi (Emacs Licenses): Document it.
03d0e2d2 — Mathieu Lirzin 10 years ago
build: Move 'Makefile' fragments to subdirectories.

This follows a convention used by some other GNU packages like Autoconf,
Bison, Coreutils, and Gnulib.

* doc.am: Rename to ...
* doc/local.mk: ... this.
* emacs.am: Rename to ...
* emacs/local.mk: ... this.
* gnu-system.am: Rename to ...
* gnu/local.mk: ... this.
* daemon.am: Rename to ...
* nix/local.mk: ... this.
* Makefile.am: Adapt to them.
* doc/guix.texi (Porting to a New Platform): Adapt documentation.
* guix/config.scm.in (%state-directory, %config-directory): Adapt comments.
* emacs/guix-config.el.in (guix-config-state-directory): Likewise.
a7c61781 — Alex Kost 10 years ago
emacs: Display license info on button press in Package Info buffer.

* emacs/guix-ui-package.el (guix-package-license): Adjust button action
  to display license info instead of browsing license URL.
690c055b — Alex Kost 10 years ago
emacs: Add location "Packages" button to Package Info buffer.

* emacs/guix-ui-package.el (guix-package-info-insert-location): New
procedure.
(guix-package-info-format): Use it.
(guix-output-info-format): Likewise.
b4b9975d — Alex Kost 10 years ago
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.
e81a89d1 — Alex Kost 10 years ago
emacs: Make 'guix-find-location' interactive.

* emacs/guix-location.el (guix-find-location): Make interactive.  Adjust
  to handle "reduced" locations (without line and column numbers).
8934c3b6 — Alex Kost 10 years ago
emacs: Display message if license not found.

* emacs/guix-ui-license.el (guix-license-message): New procedure.
(guix-license-info-message-function): Use it.
(guix-license-list-message-function): Likewise.
27986d7b — Alex Kost 10 years ago
emacs: Separate package license code.

Move list/info interface code from "guix-license.el" to
"guix-ui-license.el".

* emacs/guix-license.el (guix-license-get-entries, guix-license-get-display)
(guix-license-insert-packages-button, guix-license-insert-comment)
(guix-licenses): Move to...
* emacs/guix-ui-license.el: ... here.  New file.
* emacs.am (ELFILES): Add it.
79c7a8f2 — Alex Kost 10 years ago
emacs: Separate package location code.

* emacs/guix-base.el (guix-directory, guix-read-directory)
(guix-set-directory): Move to "guix-backend.el".
(guix-find-location, guix-package-location, guix-edit): Move to...
* emacs/guix-location.el: ... here.  New file.
* emacs/guix-ui-package.el: Use it.
* emacs.am (ELFILES): Add it.
b4ea535a — Alex Kost 10 years ago
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>
Next