guix/emacs
Ludovic Courtès 0bb9929eaa
gexp: Add 'with-imported-modules' macro.
* guix/gexp.scm (<gexp>)[modules]: New field.
(gexp-modules): New procedure.
(gexp->derivation): Use it and append the result to %MODULES.
Update docstring to mark #:modules as deprecated.
(current-imported-modules, with-imported-modules): New macros.
(gexp): Pass CURRENT-IMPORTED-MODULES as second argument to 'gexp'.
(gexp->script): Use and honor 'gexp-modules'; define '%modules'.
* tests/gexp.scm ("gexp->derivation & with-imported-modules")
("gexp->derivation & nested with-imported-modules")
("gexp-modules & ungexp", "gexp-modules & ungexp-splicing"):
New tests.
("program-file"): Use 'with-imported-modules'.  Remove #:modules
argument to 'program-file'.
* doc/guix.texi (G-Expressions): Document 'with-imported-modules'.
Mark #:modules of 'gexp->derivation' as deprecated.
* emacs/guix-devel.el: Add syntax for 'with-imported-modules'.
(guix-devel-keywords): Add it.
* .dir-locals.el: Likewise.
2016-07-12 22:47:08 +02:00
..
guix-about.el emacs: Add 'guix-version' command. 2016-05-09 11:41:00 +03:00
guix-backend.el
guix-base.el emacs: Add "Build" button to Package Info. 2016-05-31 23:51:54 +03:00
guix-buffer.el
guix-build-log.el
guix-command.el
guix-config.el.in emacs: Add 'guix-version' command. 2016-05-09 11:41:00 +03:00
guix-devel.el gexp: Add 'with-imported-modules' macro. 2016-07-12 22:47:08 +02:00
guix-emacs.el
guix-entry.el
guix-external.el
guix-geiser.el
guix-guile.el emacs: Simplify 'guix-guile-boolean'. 2016-05-10 12:05:53 +03:00
guix-help-vars.el
guix-helper.scm.in
guix-history.el
guix-hydra-build.el
guix-hydra-jobset.el
guix-hydra.el
guix-info.el
guix-init.el
guix-license.el
guix-list.el
guix-location.el
guix-main.scm emacs: Add "Build Log" button to Package Info. 2016-05-31 23:51:54 +03:00
guix-messages.el emacs: Add 'guix-package-from-file' command. 2016-05-10 12:05:53 +03:00
guix-pcomplete.el
guix-popup.el
guix-prettify.el
guix-profiles.el
guix-read.el
guix-ui-generation.el
guix-ui-license.el emacs: Add "edit" command to a list of licenses. 2016-04-26 12:32:56 +03:00
guix-ui-location.el
guix-ui-package.el emacs: Add "Build Log" button to Package Info. 2016-05-31 23:51:54 +03:00
guix-ui-system-generation.el
guix-ui.el
guix-utils.el emacs: Extend 'guix-mapinsert'. 2016-05-31 23:51:54 +03:00
local.mk build: Use "%D%" in Makefile fragments. 2016-05-24 13:07:19 +02:00