src/Pure/System/isabelle_process.ML
changeset 62930 51ac6bc389e8
parent 62923 3a122e1e352a
child 63806 c54a53ef1873
equal deleted inserted replaced
62929:b92565f98206 62930:51ac6bc389e8
   112             (case (Properties.defined props Markup.idN, Position.get_id (Position.thread_data ())) of
   112             (case (Properties.defined props Markup.idN, Position.get_id (Position.thread_data ())) of
   113               (false, SOME id') => props @ [(Markup.idN, id')]
   113               (false, SOME id') => props @ [(Markup.idN, id')]
   114             | _ => props);
   114             | _ => props);
   115         in message name props' body end;
   115         in message name props' body end;
   116   in
   116   in
   117     Output.status_fn := standard_message [] Markup.statusN;
   117     Private_Output.status_fn := standard_message [] Markup.statusN;
   118     Output.report_fn := standard_message [] Markup.reportN;
   118     Private_Output.report_fn := standard_message [] Markup.reportN;
   119     Output.result_fn :=
   119     Private_Output.result_fn :=
   120       (fn props => fn s => standard_message (props @ serial_props ()) Markup.resultN s);
   120       (fn props => fn s => standard_message (props @ serial_props ()) Markup.resultN s);
   121     Output.writeln_fn := (fn s => standard_message (serial_props ()) Markup.writelnN s);
   121     Private_Output.writeln_fn := (fn s => standard_message (serial_props ()) Markup.writelnN s);
   122     Output.state_fn := (fn s => standard_message (serial_props ()) Markup.stateN s);
   122     Private_Output.state_fn := (fn s => standard_message (serial_props ()) Markup.stateN s);
   123     Output.information_fn := (fn s => standard_message (serial_props ()) Markup.informationN s);
   123     Private_Output.information_fn :=
   124     Output.tracing_fn :=
   124       (fn s => standard_message (serial_props ()) Markup.informationN s);
       
   125     Private_Output.tracing_fn :=
   125       (fn s => (update_tracing (); standard_message (serial_props ()) Markup.tracingN s));
   126       (fn s => (update_tracing (); standard_message (serial_props ()) Markup.tracingN s));
   126     Output.warning_fn := (fn s => standard_message (serial_props ()) Markup.warningN s);
   127     Private_Output.warning_fn := (fn s => standard_message (serial_props ()) Markup.warningN s);
   127     Output.legacy_fn := (fn s => standard_message (serial_props ()) Markup.legacyN s);
   128     Private_Output.legacy_fn := (fn s => standard_message (serial_props ()) Markup.legacyN s);
   128     Output.error_message_fn :=
   129     Private_Output.error_message_fn :=
   129       (fn (i, s) => standard_message (Markup.serial_properties i) Markup.errorN s);
   130       (fn (i, s) => standard_message (Markup.serial_properties i) Markup.errorN s);
   130     Output.system_message_fn := message Markup.systemN [];
   131     Private_Output.system_message_fn := message Markup.systemN [];
   131     Output.protocol_message_fn := message Markup.protocolN;
   132     Private_Output.protocol_message_fn := message Markup.protocolN;
   132     message Markup.initN [] [Session.welcome ()];
   133     message Markup.initN [] [Session.welcome ()];
   133     msg_channel
   134     msg_channel
   134   end;
   135   end;
   135 
   136 
   136 
   137