diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2000-06-07 18:07:25 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2000-06-07 18:07:25 +0000 |
commit | fcb6f0745c966fe600fc5b54ef8a21ca2944c228 (patch) | |
tree | a95094d6f8001e0172962d1038d723c6d32dea98 /isar | |
parent | 58fd1faea731b3d946af9e60d3cb16b5254fffb5 (diff) |
Failed attempted hack to support ML files in isar mode (see comments in isar-preprocessing).
Diffstat (limited to 'isar')
-rw-r--r-- | isar/isar.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/isar/isar.el b/isar/isar.el index d5b6401e..c513f4ca 100644 --- a/isar/isar.el +++ b/isar/isar.el @@ -534,7 +534,18 @@ proof-shell-retract-files-regexp." (setq string (concat "\\<^sync>" (isar-shell-adjust-line-width) - string + ;; da: this was an attempted hack to deal with ML files, + ;; unfortunately Isar complains about not seeing a theory + ;; command first: ML_setup illegal at first line + ;; Another failure is that: (* comment *) foo; + ;; ignores foo. This could be fixed by scanning for + ;; comment end in proof-script.el's function + ;; proof-segment-upto-cmdstart (which becomes even more + ;; Isar specific, then...) + ;; (if (string-match "\\.ML$" (buffer-name proof-script-buffer)) + ;; (format "ML_setup {* %s *};" string) + ;; string) + string "\\<^sync>;")))) (defun isar-markup-ml (string) |