aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMakarius Wenzel2000-07-08 14:29:29 +0000
committerMakarius Wenzel2000-07-08 14:29:29 +0000
commit1612ca82fab5e174d2454e1dd9a91192d14dc2ca (patch)
tree0af3a8c46cbb43b6fc3808324f635618760482a3
parent6289242baa74267064cfde04f6a95565eceed171 (diff)
proof-prog-name: use isabelle-command-line;
removed misc junk;
-rw-r--r--isar/isar.el42
1 files changed, 6 insertions, 36 deletions
diff --git a/isar/isar.el b/isar/isar.el
index 9f281d99..647fd320 100644
--- a/isar/isar.el
+++ b/isar/isar.el
@@ -74,54 +74,24 @@
;;;
-;;; ======== User settings for Isabelle/Isar ========
-;;;
-
-;;; proof-site provides us with the cusomization groups
-;;;
-;;; 'isabelle-isar - User options for Isabelle/Isar Proof General
-;;; 'isabelle-isar-config - Configuration of Isabelle/Isar Proof General
-;;; (constants, but may be nice to tweak)
-
-(defcustom isabelle-prog-name "isabelle"
- "*Name of program to run Isabelle/Isar."
- :type 'file
- :group 'isabelle-isar)
-
-
-;;;
;;; ======== Configuration of generic modes ========
;;;
-
-
;; ===== outline mode
+;; FIXME not working yet!
-(defcustom isar-outline-regexp
+(defconst isar-outline-regexp
(isar-ids-to-regexp isar-keywords-outline)
- "Outline regexp for Isabelle/Isar documents"
- :type 'regexp
- :group 'isabelle-isar-config)
+ "Outline regexp for Isabelle/Isar documents")
;;; End of a command needs parsing to find, so this is approximate.
-(defcustom isar-outline-heading-end-regexp ";[ \t\n]*"
- "Outline heading end regexp for Isabelle/Isar ML files."
- :type 'regexp
- :group 'isabelle-isar-config)
+(defconst isar-outline-heading-end-regexp ";[ \t\n]*"
+ "Outline heading end regexp for Isabelle/Isar ML files.")
;; FIXME: not sure about this one
(defvar isar-shell-outline-regexp "\370[ \t]*\\([0-9]+\\)\\.")
(defvar isar-shell-outline-heading-end-regexp "$")
-;(defun isar-outline-setup ()
-; (if (and window-system (string-match "XEmacs" emacs-version))
-; (progn
-; (custom-set-variables ;custom value dictatorship!
-; '(outline-mac-style t))
-; (outl-mouse-minor-mode))
-; (outline-minor-mode)))
-;
-; FIXME tmp
(defun isar-outline-setup () t)
@@ -503,7 +473,7 @@ proof-shell-retract-files-regexp."
ans))
(defun isar-pre-shell-start ()
- (setq proof-prog-name isabelle-prog-name)
+ (setq proof-prog-name (isabelle-command-line))
(setq proof-mode-for-shell 'isar-shell-mode)
(setq proof-mode-for-goals 'isar-goals-mode)
(setq proof-mode-for-response 'isar-response-mode))