aboutsummaryrefslogtreecommitdiffhomepage
path: root/isa/isa.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-03-22 13:47:57 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-03-22 13:47:57 +0000
commitda0b1b3245bf171a56f3b2d77d5e2fe448544908 (patch)
treee7072e9569339731396303a92cb9d941aff94480 /isa/isa.el
parentff6512e4b4a371ec673f3c29d225ec1e5a5ca610 (diff)
Switch back to %s, rename proof-shell-string-escapes -> proof-shell-filename-escapes, and always apply for filename substn.
Diffstat (limited to 'isa/isa.el')
-rw-r--r--isa/isa.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/isa/isa.el b/isa/isa.el
index 1945f0d3..95479fd1 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -125,9 +125,9 @@ and script mode."
proof-shell-compute-new-files-list 'isa-shell-compute-new-files-list
proof-shell-inform-file-processed-cmd
- "ProofGeneral.inform_file_processed \"%e\";"
+ "ProofGeneral.inform_file_processed \"%s\";"
proof-shell-inform-file-retracted-cmd
- "ProofGeneral.inform_file_retracted \"%e\";"))
+ "ProofGeneral.inform_file_retracted \"%s\";"))
(defun isa-shell-mode-config-set-variables ()
@@ -142,7 +142,11 @@ and script mode."
proof-shell-prompt-pattern "^2?[ML-=#>]>? \372?"
;; for issuing command, not used to track cwd in any way.
- proof-shell-cd-cmd "Library.cd \"%e\""
+ proof-shell-cd-cmd "Library.cd \"%s\""
+
+ ;; Escapes for filenames inside ML strings.
+ proof-shell-filename-escapes
+ '(("\\\\" . "\\\\") ("\"" . "\\\""))
;; FIXME: the next two are probably only good for NJ/SML
proof-shell-interrupt-regexp "Interrupt"
@@ -251,7 +255,7 @@ and script mode."
"Tell Isabelle to update current buffer's theory, and all ancestors."
(proof-shell-invisible-command
(proof-format-filename
- (format "ProofGeneral.%supdate_thy_only \"%%e\";" (if try "try_" ""))
+ (format "ProofGeneral.%supdate_thy_only \"%%s\";" (if try "try_" ""))
(file-name-sans-extension file))
wait))
@@ -380,7 +384,7 @@ isa-proofscript-mode."
(save-some-buffers)
(isa-update-thy-only file nil nil))
-(defcustom isa-retract-thy-file-command "ThyInfo.remove_thy \"%e\";"
+(defcustom isa-retract-thy-file-command "ThyInfo.remove_thy \"%s\";"
"Sent to Isabelle to forget theory file and descendants.
Resulting output from Isabelle will be parsed by Proof General."
:type 'string