diff options
author | jao <jao@gnu.org> | 2021-12-05 01:15:43 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-12-05 01:15:43 +0000 |
commit | 1e6ede956964a019559b5bb981afe8b828c51837 (patch) | |
tree | 4127e49594e98249b13ff7b856e7caac990f4eae /doc | |
parent | 8985e7995e87b2ac95306e3c5e962b8c7b50d83a (diff) | |
download | geiser-1e6ede956964a019559b5bb981afe8b828c51837.tar.gz geiser-1e6ede956964a019559b5bb981afe8b828c51837.tar.bz2 |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/parens.texi | 7 | ||||
-rw-r--r-- | doc/repl.texi | 13 |
2 files changed, 14 insertions, 6 deletions
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) |