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)