aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/PG-adapting.texi
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-04-24 11:06:31 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-04-24 11:06:31 +0000
commitdab8ee05775e82974bed947d585037e1c1d9e64b (patch)
treecf1f0bd7a74ad92c97a4af796dd10baee3fdd6d2 /doc/PG-adapting.texi
parentdad83c7b9cfe214e54efb8739a1a8f49d5cbb3be (diff)
Add proof-shell-require-command-regexp, proof-done-advancing-require-function
to support multiple files in Coq. Move some keybindings to proof-universal-keys (esp. C-c C-l).
Diffstat (limited to 'doc/PG-adapting.texi')
-rw-r--r--doc/PG-adapting.texi25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/PG-adapting.texi b/doc/PG-adapting.texi
index f1024865..f4fbe1cc 100644
--- a/doc/PG-adapting.texi
+++ b/doc/PG-adapting.texi
@@ -1531,6 +1531,11 @@ also unlocked.
If this is set to nil, no command is issued.
+It is also possible to set this value to a function which will
+be invoked on the name of the retracted file, and should remove
+the ancestor files from @samp{@code{proof-included-files-list}} by some
+other calculation.
+
See also: @code{proof-shell-inform-file-processed-cmd},
@code{proof-shell-process-file}, @code{proof-shell-compute-new-files-list}.
@end defvar
@@ -1927,7 +1932,27 @@ be set non-nil, so that when a completed file is activated for
scripting (to do undo operations), the whole history is discarded.
@end defvar
+@c TEXI DOCSTRING MAGIC: proof-shell-require-command-regexp
+
+
+@defvar proof-shell-require-command-regexp
+A regular expression to match a Require-type of command, or nil.@*
+If set to a regexp, then @samp{@code{proof-done-advancing-require-function}}
+should also be set, and will be called immediately after the match.
+
+This can be used to adjust @samp{@code{proof-included-files-list}} based on the
+lines of script that have been processed/parsed, rather than relying
+on information from the prover.
+@end defvar
+@c TEXI DOCSTRING MAGIC: proof-done-advancing-require-function
+
+
+
+@defvar proof-done-advancing-require-function
+Invoked from @samp{@code{proof-done-advancing}}, see @samp{@code{proof-shell-require-command-regexp}}.@*
+The function is passed the span and the command as arguments.
+@end defvar
@node Hooks and other settings
@section Hooks and other settings