all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Automatically set `geiser-guile-load-path' from .dir-locals
@ 2020-10-25 18:08 Maxim Cournoyer
  2020-10-25 18:13 ` Pierre Neidhardt
                   ` (3 more replies)
  0 siblings, 4 replies; 31+ messages in thread
From: Maxim Cournoyer @ 2020-10-25 18:08 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

I've been experimenting with the following modification to the
.dir-locals file shipped with Guix, that allows setting per-buffer
variables within Emacs when visiting a file in the same directory (or in
one of its sub-directories).

This makes life a bit easier, by ensuring that a Geiser REPL started
with C-c C-a in a file of either the main 'guix' checkout, a
'guix-core-updates' worktree or a 'guix-staging' worktree will set up
the GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH correctly (via the
`geiser-guile-load-path' Elisp variable).

The only requirement for it to work reliably is that any Guix checkout
or worktree name should start with "guix".

It doesn't require Geiser to be installed (it will just set the above
variable uselessly if it isn't used -- not a big deal).

What do you think?  Is it useful?  Should we include this as part of the
default .dir-locals of Guix?

Patch to follow!

Thanks,

Maxim


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2020-11-18 10:13 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-25 18:08 [PATCH] Automatically set `geiser-guile-load-path' from .dir-locals Maxim Cournoyer
2020-10-25 18:13 ` Pierre Neidhardt
2020-10-25 18:42 ` [PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable Maxim Cournoyer
2020-10-25 18:52   ` Pierre Neidhardt
2020-10-25 21:37     ` Maxim Cournoyer
2020-10-25 21:01   ` Miguel Ángel Arruga Vivas
2020-10-26  5:47     ` Maxim Cournoyer
2020-10-26  5:53     ` [PATCH v2] " Maxim Cournoyer
2020-10-26  7:56       ` Pierre Neidhardt
2020-10-26 11:38       ` Miguel Ángel Arruga Vivas
2020-10-27 16:53         ` Maxim Cournoyer
2020-10-27 18:58           ` Miguel Ángel Arruga Vivas
2020-10-27 17:44         ` [PATCH v3] " Maxim Cournoyer
2020-10-31  4:19           ` Maxim Cournoyer
2020-11-01  1:02             ` Miguel Ángel Arruga Vivas
2020-10-26 13:43 ` [PATCH] Automatically set `geiser-guile-load-path' from .dir-locals zimoun
2020-10-26 15:03   ` Pierre Neidhardt
2020-11-05  2:20 ` Christopher Lemmer Webber
2020-11-05  4:00   ` Christopher Lemmer Webber
2020-11-05  9:25     ` Miguel Ángel Arruga Vivas
2020-11-05 17:26       ` Christopher Lemmer Webber
2020-11-14 19:57       ` Christopher Lemmer Webber
2020-11-16  4:18         ` Maxim Cournoyer
2020-11-16 14:54           ` Miguel Ángel Arruga Vivas
2020-11-16 17:41             ` Christopher Lemmer Webber
2020-11-16 18:07               ` Christopher Lemmer Webber
2020-11-16 20:57                 ` Miguel Ángel Arruga Vivas
2020-11-16 23:09                   ` Christopher Lemmer Webber
2020-11-17 15:36                   ` Maxim Cournoyer
2020-11-18 10:12                     ` Miguel Ángel Arruga Vivas
2020-11-05 14:21   ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.