From 1e6ede956964a019559b5bb981afe8b828c51837 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 5 Dec 2021 01:15:43 +0000 Subject: New option geiser-repl-add-project-path-p Together with project-current as a default for the project root function when available, now that Emacs 28 is on the horizon. --- doc/parens.texi | 7 +++++++ doc/repl.texi | 13 +++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/parens.texi b/doc/parens.texi index ee4f0a8..89b73ce 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -222,9 +222,16 @@ project-management library of choice (eg. @code{project.el} or associate themselves with the current project, and all Geiser commands will ignore REPLs that are not associated with the project. +@cindex geiser-repl-add-project-path-p This can be very convenient when used with a @file{.dir-locals.el} in the project root to set include paths, ensuring that Geiser REPLs will always know where to find your project's modules or dependencies. +Geiser automatically handles the common case of the project root +belonging to the load path: unless you tell it otherwise (using the +customisable flag @code{geiser-repl-add-project-path-p}, which defaults +to @code{t}), will add the result of calling +@code{geiser-repl-current-project-function} to the REPLs load path on +startup. @subsubheading Switching between source files and the REPL @cindex switching to REPL diff --git a/doc/repl.texi b/doc/repl.texi index 9cb4ae4..2209ad0 100644 --- a/doc/repl.texi +++ b/doc/repl.texi @@ -453,15 +453,16 @@ good candidates for an entry in a project's @file{.dir-locals.el} file, so that they are automatically set to a sensible value whenever you start a REPL in the project's directory. -@subsubheading Racket startup time +@subsubheading Startup waiting time @cindex startup timeout @cindex timeout -When starting Racket in little computers, Geiser might have to wait a -bit more than it expects (which is ten seconds, or ten thousand -milliseconds, by default). If you find that Geiser is giving up too -quickly and complaining that no prompt was found, try to increase the -value of @code{geiser-repl-startup-time} to, say, twenty seconds: +When starting a scheme implementation in old or very busy computers, +Geiser might have to wait a bit more than it expects (which is ten +seconds, or ten thousand milliseconds, by default). If you find that +Geiser is giving up too quickly and complaining that no prompt was +found, try to increase the value of @code{geiser-repl-startup-time} to, +say, twenty seconds: @example (setq geiser-repl-startup-time 20000) -- cgit v1.2.3