From 80028aa5e49cf897e371bf030eea399d14771e24 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 11 Apr 2013 07:16:37 +0200 Subject: [PATCH] Documentation for the latest changes --- NEWS | 5 +++++ doc/parens.texi | 6 ++++++ doc/repl.texi | 12 ++++++++++++ 3 files changed, 23 insertions(+) diff --git a/NEWS b/NEWS index a15b595..24da8e3 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,11 @@ - Configurable case-sensitivity when highlighting keywords (thanks to Diogo F.S. Ramos), via geiser-guile-case-sensitive-p and geiser-racket-case-sensitive-pp + - New flag geiser-repl-query-on-kill-p to control whether emacs + will ask for confirmation before killing a buffer with a live + REPL process. + - New flag geiser-mode-start-repl-p to tell Geiser to start a new + REPL if one isn't active when geiser-mode is activated. Bug fixes: diff --git a/doc/parens.texi b/doc/parens.texi index c42ee61..de88cf5 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -197,6 +197,12 @@ will add a new rule that says that any file inside my children) is to be assigned to Guile. Since rules are first matched, first served, this new rule will take precedence over the default ones. +@cindex autostart REPL +@cindex start REPL, automatically +A final tip: if you want Geiser to start automatically a REPL for you if +it notices that there's no one active when it enters @i{geiser-mode}, +you can customize @code{geiser-mode-start-repl-p} to @code{t}. + @subsubheading Switching between source files and the REPL @cindex switching to REPL @cindex switching to source diff --git a/doc/repl.texi b/doc/repl.texi index 285f8f8..8b32de7 100644 --- a/doc/repl.texi +++ b/doc/repl.texi @@ -421,6 +421,18 @@ defaulting to ``localhost'' and 37146. You can change those defaults customizing @code{geiser-repl-default-host} and @code{geiser-repl-default-port}, respectively. +@subsubheading Killing REPLs + +@cindex ask on kill, don't +If you don't want Emacs to ask for confirmation when you're about to +kill a live REPL buffer (as will happen, for instance, if you're exiting +Emacs before closing all your REPLs), you can set the flag +@code{geiser-repl-query-on-kill-p} to @code{nil}. On a related note, +the customizable variable @code{geiser-repl-query-on-exit-p} controls +whether Geiser should ask for confirmation when you exit the REPL +explicitly (via, say, @kbd{C-c C-q}, as opposed to killing the buffer), +and is set to @code{nil} by default. + @c Local Variables: @c mode: texinfo @c TeX-master: "geiser" -- 2.11.4.GIT