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 emacs: Separate package location code. 2016-04-18 10:09:02 +03:00
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 emacs: Deprecate "guix-init.el". 2016-03-24 18:49:59 +03:00
guix-license.el emacs: Add 'guix-find-license-definition' command. 2016-04-26 12:32:56 +03:00
guix-list.el
guix-location.el emacs: Make 'guix-find-location' interactive. 2016-04-18 10:09:02 +03:00
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 emacs: Add 'guix-packages-by-location' command. 2016-04-18 10:09:01 +03:00
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 emacs: Add interface for package locations. 2016-04-18 10:09:02 +03:00
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 emacs: Use full profile name in Guix buffer names. 2016-04-15 11:32:37 +03:00
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