geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current working directory


From: Jose A. Ortega Ruiz
Subject: Re: Current working directory
Date: Sun, 25 Dec 2022 21:53:37 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Sun, Dec 25 2022, Sascha Ziemann wrote:

> Whenever I start Geiser after I have loaded a Scheme file, the current
> working directory of the Scheme process (Guile in my case) is the
> parent directory of the Scheme file and not the directory of the
> Scheme file itself. I always have to evaluate (chdir "my-dir") to get
> back to the directory of the Scheme file. This is a bit annoying.
>
> Is this intended or a bug?

Geiser is trying to locate your project root using Emacs's project-root
function.  If your directory structure is such that project-root is not
adequate, you can avoid it customizing
geiser-repl-current-project-function (e.g., you can set it to #'ignore).
The REPL will then use as current directory that of the first buffer
from which you start it.

jao
-- 
I cannot walk through the suburbs in the solitude of the night without
thinking that the night pleases us because it suppresses idle details, just as
our memory does. -Jorge Luis Borges, writer (1899-1986)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]