aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2000-03-24 12:09:09 +0000
committerDavid Aspinall2000-03-24 12:09:09 +0000
commit6a2cb74a5396659552ce662f082ee2cfa9c30387 (patch)
tree4f4367b2ef00cbf28d6d357a295c335bf429484f
parent36237eba1193fab6e345ab39864eff775c57b921 (diff)
Sensible default for Windows invoking Isabelle
-rw-r--r--isa/isa.el22
1 files changed, 20 insertions, 2 deletions
diff --git a/isa/isa.el b/isa/isa.el
index aa5bad34..6a679e4e 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -30,8 +30,26 @@
;;; 'isabelle-config - Configuration of Isabelle Proof General
;;; (constants, but may be nice to tweak)
-(defcustom isabelle-prog-name "isabelle"
- "*Name of program to run Isabelle."
+; FIXME: fancy logic choice stuff to go in for 3.2
+;(defcustom isabelle-logic "HOL"
+; "*Choice of logic to use with Isabelle.
+;If non-nil, will be added into isabelle-prog-name as default value."
+; :type (append
+; (list 'choice '(const :tag "Unset" nil))
+; (mapcar (lambda (str) (list 'const str))
+; (split-string-by-char
+; (substring (shell-command-to-string "isatool findlogics") 0 -1)
+; ?\ )))
+; :group 'isabelle)
+
+(defcustom isabelle-prog-name
+ (if (fboundp 'win32-long-filename) ; rough test for XEmacs on win32
+ "C:\sml\bin\.run\run.x86-win32.exe @SMLload=C:\Isabelle\HOL"
+ "isabelle")
+ "*Name of program to run Isabelle.
+The default value when running under Windows expects SML/NJ in C:\\sml
+and an Isabelle image for HOL in C:\Isabelle. You can change this
+by customization."
:type 'file
:group 'isabelle)