From 6a2cb74a5396659552ce662f082ee2cfa9c30387 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 24 Mar 2000 12:09:09 +0000 Subject: Sensible default for Windows invoking Isabelle --- isa/isa.el | 22 ++++++++++++++++++++-- 1 file 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) -- cgit v1.2.3