diff options
| author | David Aspinall | 1998-11-26 20:35:46 +0000 |
|---|---|---|
| committer | David Aspinall | 1998-11-26 20:35:46 +0000 |
| commit | 8cd6d8f488fcb5b022f33f8322d3a8821b19f482 (patch) | |
| tree | 96b7db5144f6f7dfe8c80fd3f6e5b82c552bf0da /isa/isa.el | |
| parent | 21ba4356e554d8a0429a2757b5883becfcc9a21a (diff) | |
Added clear-goals-buffer stuff, asked for response to be left after use_thy.
Diffstat (limited to 'isa/isa.el')
| -rw-r--r-- | isa/isa.el | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -188,6 +188,7 @@ no regular or easily discernable structure." ;; Some messages delimited by eager annotations proof-shell-clear-response-regexp "Proof General, please clear the response buffer." + proof-shell-clear-goals-regexp "Proof General, please clear the goals buffer." ;; Tested values of proof-shell-eager-annotation-start: ;; "^\\[opening \\|^###\\|^Reading\\|^Proof General\\|^Not reading" @@ -260,10 +261,16 @@ This is a hook function for proof-activate-scripting-hook." ;; Send a use_thy command if there is a corresponding .thy file. ;; Let Isabelle do the work of checking whether any work needs ;; doing. Really this should be force_use_thy, too. - (proof-shell-invisible-command - (format isa-usethy-notopml-command - (file-name-sans-extension buffer-file-name)) - t) + ;; Wait after sending, so that queue is cleared for further commands. + ;; (there would be no harm in letting the queue be extended + ;; if it were allowed for). + (progn + (proof-shell-invisible-command + (format isa-usethy-notopml-command + (file-name-sans-extension buffer-file-name)) + t) + ;; Leave the messages from the use around. + (setq proof-shell-erase-response-flag nil)) )) (defun isa-shell-compute-new-files-list (str) |
