guix-devel/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 emacs: Set 'guix-buffer-item' before displaying entries. 2016-02-22 22:29:56 +03:00
guix-build-log.el emacs: Autoload hooks instead of putting them in 'guix-init'. 2016-02-18 11:59:03 +03:00
guix-command.el emacs: command: Disambiguate "w" key in build options. 2016-02-01 21:23:38 +03:00
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 emacs: Find Emacs packages in a system profile. 2016-02-07 11:24:35 +03:00
guix-entry.el
guix-external.el
guix-geiser.el emacs: Fix converting scheme into elisp expression. 2016-03-23 11:24:38 +03:00
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 emacs: Add Hydra interface. 2016-01-02 17:25:35 +03:00
guix-hydra-jobset.el emacs: Add Hydra interface. 2016-01-02 17:25:35 +03:00
guix-hydra.el emacs: hydra: Use '-' to separate job names and version numbers. 2016-03-04 13:17:36 +03:00
guix-info.el emacs: Rename 'file-path' to 'file-name'. 2016-01-25 22:11:47 +03:00
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 emacs: list: Support displaying URL links. 2016-01-25 22:11:47 +03:00
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 emacs: Add missing shell completions. 2016-01-13 17:55:47 +03:00
guix-popup.el
guix-prettify.el
guix-profiles.el emacs: Do not allow a user to modify system profiles. 2016-02-22 22:36:35 +03:00
guix-read.el emacs: Add 'guix-packages-by-location' command. 2016-04-18 10:09:01 +03:00
guix-ui-generation.el emacs: Add missing (require 'guix-profiles). 2016-02-04 15:31:43 +03:00
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 emacs: Rename 'file-path' to 'file-name'. 2016-01-25 22:11:47 +03:00
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