<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 17, 2015 at 5:39 AM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 16 January 2015 at 21:44,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; Chris Muller uploaded a new version of System to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/System-cmm.694.mcz" target="_blank">http://source.squeak.org/trunk/System-cmm.694.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: System-cmm.694<br>
&gt; Author: cmm<br>
&gt; Time: 16 January 2015, 3:44:19.079 pm<br>
&gt; UUID: e79a2347-2f40-4fec-8f00-f67ecad68491<br>
&gt; Ancestors: System-dtl.693<br>
&gt;<br>
&gt; - #flush stdout and stderr after writing error information to them.<br>
&gt; - After that, if the exception is resumable (i.e. a Warning), resume it.  Except if its a MessageNotUnderstood -- that is not an error you want to resume in a headless environment.<br>
<br>
</span>Why? It&#39;s probably a rare use case for a #run: script to catch MNUs to<br>
do something fancy, I guess? Maybe it&#39;s because #run: is usually<br>
(always?) the top level of the program?<br></blockquote><div><br></div><div>Exactly.  #run: is for initiating long-running batch processes, typically in headless mode.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Catching only MNUs seems very specific. Maybe there could be a #run:<br>
version that says &quot;and here&#39;s a function you can use to control which<br>
exceptions are OK to resume, and which not&quot;?<br></blockquote><div><br></div><div>It could, but the goal is for #run: to make it easy to run batch operations and do-the-right-thing while demanding the bare minimum of configuration from the user.</div><div><br></div><div>I smell the same thing you do.  I really don&#39;t like the smell of MessageNotUnderstood check, but let me explain my rationale in response to Eliots note and we can go from there.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
<br>
</font></span></blockquote></div><br></div></div>