aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-06-15 12:55:31 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-06-15 12:55:31 +0000
commite9636bb097d959a1887776fc15fed12b185a7681 (patch)
tree2037806dc70fb9b233c329cb601a6ec5537918ae
parent10cfae138cda986ab80c6004d2f4ff574da602bd (diff)
First attempt at using new indentation for Isabelle. Utterly broken.
-rw-r--r--isa/isa.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/isa/isa.el b/isa/isa.el
index 68814701..58e6dc82 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -95,6 +95,21 @@ and script mode."
(list isa-goal-with-hole-regexp 2)
(list isa-save-with-hole-regexp 2
'backward isa-goal-command-regexp))
+
+ ;; Indentation
+ ;; FIXME: I don't understand how this works.
+ ;; Also it doesn't work because of anchoring problems.
+ ;; Tips from Markus?
+ proof-indent-close-offset -1
+ proof-indent-open-regexp (proof-regexp-alt
+ isa-goal-command-regexp
+ "\\s(")
+ proof-indent-close-regexp (proof-regexp-alt
+ isa-save-command-regexp
+ "\\s)")
+ proof-indent-any-regexp (apply 'proof-regexp-alt
+ isa-keywords-commands)
+
;; proof engine commands
proof-showproof-command "pr();"