<div dir="ltr"><div>Wow, I actually had to look that up, because I found it incredible, but, lo and behold, there it is, under <i>5.5.4.5 Message: resume</i>.  Does anyone know why ANSI considers it erroneous?</div><div><br></div><div>> Notifications resume by default anyway if not curtailed.</div><div><br></div><div>A signaled Notification which is never curtailed is nothing, negative even.  Their value is derived by being handled.  But, if you try to handle a Notification, you're basically forced to resume it if you want to retain the nature as if you didn't handle it.  By not guarantee'ing resumption, ANSI forces handlers and signalers to coordinate when they should be decoupled.</div><div><div></div></div><div><br></div><div>> The return value of defaultAction will be the resume value. So maybe it should read ^ self defaultResumeValue, or the latter selector should not exist in the library  classes.</div><div><br></div><div>Squeak has a couple of places that've been sending #resume from defaultAction since their inception.  My inclination would be to understand what we want to get out of Notification before making any changes.</div><div><br></div><div>For me, a Notification is informational output from a program that should <u>always</u> resume afterward and, therefore, whose defaultAction should be to resume: self defaultResumeValue.  <i>Request</i> should be its own major sub branch of <i style="">Notification</i> for input.<br></div><div><br></div><div> - Chris</div><div><br></div><div></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 18, 2020 at 7:10 AM Jakob Reschke <<a href="mailto:forums.jakob@resfarm.de" target="_blank">forums.jakob@resfarm.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Chris Muller <<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>> schrieb am Sa., 18. Juli 2020, 04:42:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div><div>As long as Notification>>#defaultAction remains </div><div><br></div><div>    ^nil </div><div><br></div><div>instead of </div><div><br></div><div>      self resume</div><div><br></div><div>then Smalltalk>>#run: <u>must</u> handle Notification, otherwise, what Tim said would happen with headless apps, will happen.</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">resume must not be called from defaultAction according to the ANSI standard. Squeak may differ, but having this in the class library would set a bad example for applications that implement their own notifications. Notifications resume by default anyway if not curtailed. The return value of defaultAction will be the resume value. So maybe it should read ^ self defaultResumeValue, or the latter selector should not exist in the library  classes.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div></div>
<br>
</blockquote></div></div>