separate option editor_skip_proofs, to avoid accidental change of preferences for skip_proofs, which would invalidate batch builds;
authorwenzelm
Wed, 27 Mar 2013 16:46:52 +0100
changeset 51554 041bc3d31f23
parent 51553 63327f679cff
child 51555 6aa64925db77
separate option editor_skip_proofs, to avoid accidental change of preferences for skip_proofs, which would invalidate batch builds;
etc/options
src/Pure/System/isabelle_process.ML
src/Tools/jEdit/src/isabelle_options.scala
--- a/etc/options	Wed Mar 27 16:38:25 2013 +0100
+++ b/etc/options	Wed Mar 27 16:46:52 2013 +0100
@@ -83,6 +83,9 @@
 
 section "Editor Reactivity"
 
+option editor_skip_proofs : bool = false
+  -- "skip over proofs (implicit 'sorry')"
+
 option editor_load_delay : real = 0.5
   -- "delay for file load operations (new buffers etc.)"
 
--- a/src/Pure/System/isabelle_process.ML	Wed Mar 27 16:38:25 2013 +0100
+++ b/src/Pure/System/isabelle_process.ML	Wed Mar 27 16:46:52 2013 +0100
@@ -242,7 +242,7 @@
         Multithreading.max_threads := Options.int options "threads";
         if Multithreading.max_threads_value () < 2
         then Multithreading.max_threads := 2 else ();
-        Goal.skip_proofs := Options.bool options "skip_proofs";
+        Goal.skip_proofs := Options.bool options "editor_skip_proofs";
         Goal.parallel_proofs := (if Options.int options "parallel_proofs" > 0 then 3 else 0);
         Goal.parallel_subproofs_saturation := Options.int options "parallel_subproofs_saturation";
         Goal.parallel_subproofs_threshold := Options.real options "parallel_subproofs_threshold";
--- a/src/Tools/jEdit/src/isabelle_options.scala	Wed Mar 27 16:38:25 2013 +0100
+++ b/src/Tools/jEdit/src/isabelle_options.scala	Wed Mar 27 16:46:52 2013 +0100
@@ -44,10 +44,10 @@
     Set("jedit_logic", "jedit_font_scale", "jedit_symbols_search_limit",
       "jedit_text_overview_limit", "jedit_tooltip_bounds", "jedit_tooltip_delay",
       "jedit_tooltip_font_scale", "jedit_tooltip_margin", "jedit_mac_adapter",
-      "jedit_timing_threshold", "skip_proofs", "threads", "threads_trace", "parallel_proofs",
-      "parallel_subproofs_saturation", "editor_load_delay", "editor_input_delay",
-      "editor_output_delay", "editor_reparse_limit", "editor_tracing_messages",
-      "editor_update_delay", "editor_chart_delay")
+      "jedit_timing_threshold", "threads", "threads_trace", "parallel_proofs",
+      "parallel_subproofs_saturation", "editor_skip_proofs", "editor_load_delay",
+      "editor_input_delay", "editor_output_delay", "editor_reparse_limit",
+      "editor_tracing_messages", "editor_update_delay", "editor_chart_delay")
 
   relevant_options.foreach(PIDE.options.value.check_name _)