Re: [PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable.

2020-10-25 Thread Maxim Cournoyer
Hello Miguel! Miguel Ángel Arruga Vivas writes: > Hi! > > I think that geiser should use something (project.el, wink wink) to fill > load-path automatically when that's possible. Nevertheless, I have some > comments for this. > > Maxim Cournoyer writes: >> + >> + ;; Emacs-Guix >> + (ev

Re: [PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable.

2020-10-25 Thread Maxim Cournoyer
Hello Pierre, Pierre Neidhardt writes: > Maxim Cournoyer writes: > >> +(clean-geiser-guile-load-path >> + (seq-remove (lambda (x) >> + (string-match "/guix" x)) >> + geiser-guile-load-path)

Re: [PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable.

2020-10-25 Thread Miguel Ángel Arruga Vivas
Hi! I think that geiser should use something (project.el, wink wink) to fill load-path automatically when that's possible. Nevertheless, I have some comments for this. Maxim Cournoyer writes: > + > + ;; Emacs-Guix > + (eval . (setq guix-directory > + (locate-dominating

Re: [PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable.

2020-10-25 Thread Pierre Neidhardt
Maxim Cournoyer writes: > +(clean-geiser-guile-load-path > + (seq-remove (lambda (x) > + (string-match "/guix" x)) > + geiser-guile-load-path))) I suggest making "/guix" a let-bound variable

[PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable.

2020-10-25 Thread Maxim Cournoyer
* .dir-locals.el: Set the GUIX-DIRECTORY and GEISER-GUILE-LOAD-PATH Emacs variables based on the location of the .dir-locals file. --- .dir-locals.el | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index 19f15b3e1a..df5