aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorDavid Aspinall2009-09-06 18:12:56 +0000
committerDavid Aspinall2009-09-06 18:12:56 +0000
commit3d9b10186debc0f1839f37d44022f448a8587ff2 (patch)
tree7b302994269577f8a369cafde82117b9ebc73438 /generic
parent36ed2e9b37a9e722191293db499b29a373cba61b (diff)
Change type of proof-shell-process-file, proof-shell-compute-new-files-list
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el25
1 files changed, 14 insertions, 11 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index 14dfa9bf..a0c29b72 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -1101,7 +1101,7 @@ in ordinary output, which should appear in this regexp."
We assume that an error message corresponds to a failure in the last
proof command executed. So don't match mere warning messages with
-this regexp. Moreover, an error message should not be matched as an
+this regexp. Moreover, an error message should *not* be matched as an
eager annotation (see `proof-shell-eager-annotation-start') otherwise it
will be lost.
@@ -1321,10 +1321,10 @@ used to help parse the goals buffer to annotate it for proof by pointing."
(defcustom proof-shell-process-file nil
"A pair (REGEXP . FUNCTION) to match a processed file name.
-If REGEXP matches output, then the function FUNCTION is invoked on the
-output string chunk. It must return the name of a script file (with
-complete path) that the system has successfully processed. In
-practice, FUNCTION is likely to inspect the match data. If it returns
+If REGEXP matches output, then the function FUNCTION is invoked.
+It must return the name of a script file (with complete path)
+that the system has successfully processed. In practice,
+FUNCTION is likely to inspect the match data. If it returns
the empty string, the file name of the scripting buffer is used
instead. If it returns nil, no action is taken.
@@ -1360,12 +1360,15 @@ date and needs to be updated with the help of the function
(defcustom proof-shell-compute-new-files-list nil
"Function to update `proof-included-files list'.
-It needs to return an up to date list of all processed files. Its
-output is stored in `proof-included-files-list'. Its input is the
-string of which `proof-shell-retract-files-regexp' matched a
-substring. In practice, this function is likely to inspect the
-previous (global) variable `proof-included-files-list' and the match
-data triggered by `proof-shell-retract-files-regexp'."
+It needs to return an up-to-date list of all processed files. The
+result will be stored in `proof-included-files-list'.
+
+This function is called when `proof-shell-retract-files-regexp'
+has been matched in the prover output.
+
+In practice, this function is likely to inspect the
+previous (global) variable `proof-included-files-list' and the
+match data triggered by `proof-shell-retract-files-regexp'."
:type '(choice function (const nil))
:group 'proof-shell)