src/Pure/Tools/proof_general_pure.ML
changeset 56467 8d7d6f17c6a7
parent 56285 9315d3988d73
child 56887 1ca814da47ae
equal deleted inserted replaced
56466:08982abdcdad 56467:8d7d6f17c6a7
    15 (* display *)
    15 (* display *)
    16 
    16 
    17 val _ =
    17 val _ =
    18   ProofGeneral.preference_option ProofGeneral.category_display
    18   ProofGeneral.preference_option ProofGeneral.category_display
    19     NONE
    19     NONE
    20     @{option show_types}
    20     @{system_option show_types}
    21     "show-types"
    21     "show-types"
    22     "Include types in display of Isabelle terms";
    22     "Include types in display of Isabelle terms";
    23 
    23 
    24 val _ =
    24 val _ =
    25   ProofGeneral.preference_option ProofGeneral.category_display
    25   ProofGeneral.preference_option ProofGeneral.category_display
    26     NONE
    26     NONE
    27     @{option show_sorts}
    27     @{system_option show_sorts}
    28     "show-sorts"
    28     "show-sorts"
    29     "Include sorts in display of Isabelle types";
    29     "Include sorts in display of Isabelle types";
    30 
    30 
    31 val _ =
    31 val _ =
    32   ProofGeneral.preference_option ProofGeneral.category_display
    32   ProofGeneral.preference_option ProofGeneral.category_display
    33     NONE
    33     NONE
    34     @{option show_consts}
    34     @{system_option show_consts}
    35     "show-consts"
    35     "show-consts"
    36     "Show types of consts in Isabelle goal display";
    36     "Show types of consts in Isabelle goal display";
    37 
    37 
    38 val _ =
    38 val _ =
    39   ProofGeneral.preference_option ProofGeneral.category_display
    39   ProofGeneral.preference_option ProofGeneral.category_display
    40     NONE
    40     NONE
    41     @{option names_long}
    41     @{system_option names_long}
    42     "long-names"
    42     "long-names"
    43     "Show fully qualified names in Isabelle terms";
    43     "Show fully qualified names in Isabelle terms";
    44 
    44 
    45 val _ =
    45 val _ =
    46   ProofGeneral.preference_option ProofGeneral.category_display
    46   ProofGeneral.preference_option ProofGeneral.category_display
    47     NONE
    47     NONE
    48     @{option show_brackets}
    48     @{system_option show_brackets}
    49     "show-brackets"
    49     "show-brackets"
    50     "Show full bracketing in Isabelle terms";
    50     "Show full bracketing in Isabelle terms";
    51 
    51 
    52 val _ =
    52 val _ =
    53   ProofGeneral.preference_option ProofGeneral.category_display
    53   ProofGeneral.preference_option ProofGeneral.category_display
    54     NONE
    54     NONE
    55     @{option show_main_goal}
    55     @{system_option show_main_goal}
    56     "show-main-goal"
    56     "show-main-goal"
    57     "Show main goal in proof state display";
    57     "Show main goal in proof state display";
    58 
    58 
    59 val _ =
    59 val _ =
    60   ProofGeneral.preference_option ProofGeneral.category_display
    60   ProofGeneral.preference_option ProofGeneral.category_display
    61     NONE
    61     NONE
    62     @{option eta_contract}
    62     @{system_option eta_contract}
    63     "eta-contract"
    63     "eta-contract"
    64     "Print terms eta-contracted";
    64     "Print terms eta-contracted";
    65 
    65 
    66 
    66 
    67 (* advanced display *)
    67 (* advanced display *)
    68 
    68 
    69 val _ =
    69 val _ =
    70   ProofGeneral.preference_option ProofGeneral.category_advanced_display
    70   ProofGeneral.preference_option ProofGeneral.category_advanced_display
    71     NONE
    71     NONE
    72     @{option goals_limit}
    72     @{system_option goals_limit}
    73     "goals-limit"
    73     "goals-limit"
    74     "Setting for maximum number of subgoals to be printed";
    74     "Setting for maximum number of subgoals to be printed";
    75 
    75 
    76 val _ =
    76 val _ =
    77   ProofGeneral.preference ProofGeneral.category_advanced_display
    77   ProofGeneral.preference ProofGeneral.category_advanced_display
    83     "Setting for the ML print depth";
    83     "Setting for the ML print depth";
    84 
    84 
    85 val _ =
    85 val _ =
    86   ProofGeneral.preference_option ProofGeneral.category_advanced_display
    86   ProofGeneral.preference_option ProofGeneral.category_advanced_display
    87     NONE
    87     NONE
    88     @{option show_question_marks}
    88     @{system_option show_question_marks}
    89     "show-question-marks"
    89     "show-question-marks"
    90     "Show leading question mark of variable name";
    90     "Show leading question mark of variable name";
    91 
    91 
    92 
    92 
    93 (* tracing *)
    93 (* tracing *)
   121     "Whether to enable timing in Isabelle";
   121     "Whether to enable timing in Isabelle";
   122 
   122 
   123 val _ =
   123 val _ =
   124   ProofGeneral.preference_option ProofGeneral.category_tracing
   124   ProofGeneral.preference_option ProofGeneral.category_tracing
   125     NONE
   125     NONE
   126     @{option ML_exception_trace}
   126     @{system_option ML_exception_trace}
   127     "debugging"
   127     "debugging"
   128     "Whether to enable exception trace for toplevel command execution";
   128     "Whether to enable exception trace for toplevel command execution";
   129 
   129 
   130 val _ =
   130 val _ =
   131   ProofGeneral.preference_bool ProofGeneral.category_tracing
   131   ProofGeneral.preference_bool ProofGeneral.category_tracing
   138 (* proof *)
   138 (* proof *)
   139 
   139 
   140 val _ =
   140 val _ =
   141   ProofGeneral.preference_option ProofGeneral.category_proof
   141   ProofGeneral.preference_option ProofGeneral.category_proof
   142     (SOME "true")
   142     (SOME "true")
   143     @{option quick_and_dirty}
   143     @{system_option quick_and_dirty}
   144     "quick-and-dirty"
   144     "quick-and-dirty"
   145     "Take a few short cuts";
   145     "Take a few short cuts";
   146 
   146 
   147 val _ =
   147 val _ =
   148   ProofGeneral.preference_option ProofGeneral.category_proof
   148   ProofGeneral.preference_option ProofGeneral.category_proof
   149     NONE
   149     NONE
   150     @{option skip_proofs}
   150     @{system_option skip_proofs}
   151     "skip-proofs"
   151     "skip-proofs"
   152     "Skip over proofs";
   152     "Skip over proofs";
   153 
   153 
   154 val _ =
   154 val _ =
   155   ProofGeneral.preference ProofGeneral.category_proof
   155   ProofGeneral.preference ProofGeneral.category_proof