From 3711c8e4b154b47706f3206eee9eaf3c67da792b Mon Sep 17 00:00:00 2001 From: Thomas Kleymann Date: Tue, 15 Dec 1998 14:29:18 +0000 Subject: radical new version of Credits and References section --- doc/ProofGeneral.texi | 177 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 124 insertions(+), 53 deletions(-) (limited to 'doc') diff --git a/doc/ProofGeneral.texi b/doc/ProofGeneral.texi index 028862b6..62e6bea8 100644 --- a/doc/ProofGeneral.texi +++ b/doc/ProofGeneral.texi @@ -136,7 +136,7 @@ Isabelle. * Isabelle Proof General:: * Adapting Proof General to New Provers:: * Internals of Proof General:: -* Credits and References:: +* Credits History and References:: * Obtaining and Installing Proof General:: * Known bugs and workarounds:: * Plans and ideas:: @@ -260,8 +260,6 @@ Plans and ideas @end detailmenu @end ifinfo - - @c @c CHAPTER: Introduction @c @@ -951,7 +949,7 @@ Process the current buffer and set point at the end of the buffer. @c TEXI DOCSTRING MAGIC: proof-active-terminator-minor-mode -@deffn Command proof-active-terminator-minor-mode &optional arg +@deffn Command proof-active-terminator-minor-mode Toggle Proof General's active terminator minor mode. With arg, turn on the Active Terminator minor mode if and only if arg is positive. @@ -1058,7 +1056,7 @@ Interrupt the proof assistant. Warning! This may confuse Proof General. @end deffn @c TEXI DOCSTRING MAGIC: proof-try-command -@deffn Command proof-try-command &optional unclosed-comment-fun +@deffn Command proof-try-command Process the command at point, but don't add it to the locked region. Supplied to let the user to test the types and values of @@ -2923,7 +2921,7 @@ buffer, so the locked region is made empty by this function. For locking files loaded by a proof assistant, we use the next function. @c TEXI DOCSTRING MAGIC: proof-mark-buffer-atomic -@defun proof-mark-buffer-atomic buffer +@defun proof-mark-buffer-atomic Mark @var{buffer} as having been processed in a single step. If buffer already contains a locked region, only the remainder of the @@ -2938,7 +2936,7 @@ variables @code{proof-included-files-list} documented earlier (@pxref{Handling multiple files} and @pxref{Global variables}). @c TEXI DOCSTRING MAGIC: proof-register-possibly-new-processed-file -@defun proof-register-possibly-new-processed-file file +@defun proof-register-possibly-new-processed-file Register a possibly new @var{file} as having been processed by the prover. @end defun @@ -2973,12 +2971,12 @@ The next function is the main one used for parsing the proof script buffer. @c TEXI DOCSTRING MAGIC: proof-segment-up-to -@defun proof-segment-up-to pos &optional next-command-end -Create a list of (type,int,string) tuples from end of locked region to @var{pos}. +@defun proof-segment-up-to +Create a list of (type,int,string) tuples from end of locked region to POS. Each tuple denotes the command and the position of its terminator, type is one of @code{'comment}, or @code{'cmd}. @code{'unclosed-comment} may be consed onto the start if the segment finishes with an unclosed comment. -If optional @var{next-command-end} is non-nil, we contine past @var{pos} until +If optional @var{next-command-end} is non-nil, we contine past POS until the next command end. @end defun @@ -2987,7 +2985,7 @@ a parsed region of the script into a series of commands to be sent to the proof assistant. @c TEXI DOCSTRING MAGIC: proof-semis-to-vanillas -@defun proof-semis-to-vanillas semis &optional callback-fn +@defun proof-semis-to-vanillas Convert a sequence of terminator positions to a set of vanilla extents. Proof terminator positions @var{semis} has the form returned by the function @code{proof-segment-up-to}. @@ -3002,7 +3000,7 @@ available until we've actually run @code{proof-segment-up-to (point)}, hence all the different options when we've done so. @c TEXI DOCSTRING MAGIC: proof-assert-until-point -@defun proof-assert-until-point &optional unclosed-comment-fun ignore-proof-process-p +@defun proof-assert-until-point Process the region from the end of the locked-region until point. Default action if inside a comment is just process as far as the start of the comment. @@ -3016,7 +3014,7 @@ scripting. @code{proof-assert-next-command} is a variant of this function. @c TEXI DOCSTRING MAGIC: proof-assert-next-command -@defun proof-assert-next-command &optional unclosed-comment-fun ignore-proof-process-p dont-move-forward for-new-command +@defun proof-assert-next-command Process until the end of the next unprocessed command after point. If inside a comment, just process until the start of the comment. @@ -3031,7 +3029,7 @@ The main command for retracting parts of a script is @code{proof-retract-until-point}. @c TEXI DOCSTRING MAGIC: proof-retract-until-point -@defun proof-retract-until-point &optional delete-region +@defun proof-retract-until-point Set up the proof process for retracting until point. In particular, set a flag for the filter process to call @samp{@code{proof-done-retracting}} after the proof process has successfully @@ -3047,7 +3045,7 @@ use the functions @code{proof-restart-buffers}, and @code{proof-script-remove-all-spans-and-deactivate}. @c TEXI DOCSTRING MAGIC: proof-restart-buffers -@defun proof-restart-buffers buffers +@defun proof-restart-buffers Remove all extents in @var{buffers} and maybe reset @samp{@code{proof-script-buffer}}. No effect on a buffer which is nil or killed. If one of the buffers is the current scripting buffer, then @code{proof-script-buffer} @@ -3105,7 +3103,12 @@ See the functions @samp{@code{proof-start-queue}} and @samp{proof-exec-loop}. @end defvar @c TEXI DOCSTRING MAGIC: proof-analyse-using-stack -@defvar proof-analyse-using-stack +@defvar proof-analyse-using-stack +Choice of syntax tree encoding for terms. + +If @samp{nil}, prover is expected to make no optimisations. +If non-@samp{nil}, the pretty printer of the prover only reports local changes. +For @var{lego} 1.3.1 use @samp{nil}, for Coq 6.2, use @samp{t}. @end defvar @@ -3145,7 +3148,7 @@ This simply kills the @code{proof-shell-buffer} relying on the hook function @end deffn @c TEXI DOCSTRING MAGIC: proof-shell-bail-out -@defun proof-shell-bail-out process event +@defun proof-shell-bail-out Value for the process sentinel for the proof assistant process. If the proof assistant dies, run @code{proof-shell-kill-function} to cleanup and remove the associated buffers. The shell buffer is @@ -3169,9 +3172,9 @@ Input to the proof shell via the queue region is managed by the functions @code{proof-start-queue} and @code{proof-shell-exec-loop}. @c TEXI DOCSTRING MAGIC: proof-start-queue -@defun proof-start-queue start end alist +@defun proof-start-queue Begin processing a queue of commands in @var{alist}. -If @var{start} is non-nil, @var{start} and @var{end} are buffer positions in the +If @var{start} is non-nil, @var{start} and END are buffer positions in the active scripting buffer for the queue region. @end defun @@ -3199,8 +3202,8 @@ user-level functions rather than attempting to manipulate the proof action list directly. @c TEXI DOCSTRING MAGIC: proof-shell-invisible-command -@defun proof-shell-invisible-command cmd &optional wait -Send @var{cmd} to the proof process. +@defun proof-shell-invisible-command +Send CMD to the proof process. If optional @var{wait} command is non-nil, wait for processing to finish before and after sending the command. @end defun @@ -3209,8 +3212,8 @@ Input is actually inserted into the shell buffer and sent to the process by the low-level function @code{proof-shell-insert}. @c TEXI DOCSTRING MAGIC: proof-shell-insert -@defun proof-shell-insert string -Insert @var{string} at the end of the proof shell, call @code{comint-send-input}. +@defun proof-shell-insert +Insert @var{string} at the end of the proof shell, call comint-send-input. First call @code{proof-shell-insert-hook}. Then strip @var{string} of carriage returns before inserting it and updating @code{proof-marker} to point to the end of the newly inserted text. @@ -3242,9 +3245,9 @@ the last urgent message seen. @vindex proof-action-list @c TEXI DOCSTRING MAGIC: proof-shell-process-output -@defun proof-shell-process-output cmd string -Process shell output (resulting from @var{cmd}) by matching on @var{string}. -@var{cmd} is the first part of the @code{proof-action-list} that lead to this +@defun proof-shell-process-output +Process shell output (resulting from CMD) by matching on @var{string}. +CMD is the first part of the @code{proof-action-list} that lead to this output. This function deals with errors, start of proofs, abortions of proofs and completions of proofs. All other output from the proof @@ -3267,7 +3270,7 @@ Marker in proof shell buffer pointing to end of last urgent message. @end defvar @c TEXI DOCSTRING MAGIC: proof-shell-process-urgent-message -@defun proof-shell-process-urgent-message message +@defun proof-shell-process-urgent-message Analyse urgent @var{message} for various cases. Included file, retracted file, cleared response buffer, or if none of these apply, display. @@ -3277,9 +3280,9 @@ The main processing point which triggers other actions is @code{proof-shell-filter}. @c TEXI DOCSTRING MAGIC: proof-shell-filter -@defun proof-shell-filter str +@defun proof-shell-filter Filter for the proof assistant shell-process. -A function for @code{comint-output-filter-functions}. +A function for comint-output-filter-functions. Deal with output and issue new input from the queue. @@ -3288,7 +3291,7 @@ using the function @samp{@code{proof-shell-process-urgent-messages}}. Otherwise wait until an annotated prompt appears in the input. If @code{proof-shell-wakeup-char} is set, wait until we see that in the -output chunk @var{str}. This optimizes the filter a little bit. +output chunk STR. This optimizes the filter a little bit. If a prompt is seen, run @code{proof-shell-process-output} on the output between the new prompt and the last input (position of @code{proof-marker}) @@ -3318,7 +3321,7 @@ however, are always processed). @end defun @c TEXI DOCSTRING MAGIC: proof-shell-filter-process-output -@defun proof-shell-filter-process-output string +@defun proof-shell-filter-process-output Subroutine of @code{proof-shell-filter} to process output @var{string}. Appropriate action is taken depending on the what @@ -3349,37 +3352,39 @@ output. -@c -@c -@c CHAPTER: Obtaining and Installing Proof General -@c -@c -@node Credits and References -@chapter Credits and References +@node Credits History and References +@chapter Credits, History and References @menu * Credits:: +* History:: * References:: @end menu @node Credits @unnumberedsec Credits - -LEGO Proof General was written by Thomas Kleymann and Dilip Sequeira. - -Coq Proof General was written by Healfdene Goguen. - -Isabelle Proof General was written by David Aspinall. - -The generic base for Proof General was developed by all four of us. - -Thomas Kleymann provided the impetus to develop a generic Emacs -interface, following ideas used in Project CROAP, and with the help of -Yves Bertot. David Aspinall provided the Proof General name and images. +@cindex @code{lego-mode} +@cindex maintenance + +LEGO Proof General (the successor of @code{lego-mode}) was crafted by +Thomas Kleymann and Dilip Sequeira. It is now maintained by Paul +Callaghan @i{