<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:large">Hi Tim,<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 13, 2020 at 10:46 AM tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 2020-10-13, at 8:23 AM, Stéphane Rollandin <<a href="mailto:lecteur@zogotounga.net" target="_blank">lecteur@zogotounga.net</a>> wrote:<br>
> <br>
> I guess each of us has his own way to use a workspace. After all, it is where one "works", and everybody works differently. So, that several (even many) preferences may be needed is not a problem here IMO.<br>
Yah. <br>
<br>
I hate having syntax colouring in workspaces (I'm not a huge fan of it anywhere). Workspaces are not only chunks of code; they're note taking spaces. My rambling English notes do not get handled all that well. <br>
<br>
{Now I'll admit that the idea of extending Shout to do spell/grammar checking for plain text might be interesting for non-code stuff. We did some very simple spellcheck stuff for the Sophie Project around '05 that was quite helpful - the biggest issue was getting a source of the spellcheck library. Mac's have it built in, unix has a gazillion competing and confusing systems, Windwos required you to buy Office.}<br>
<br>
I don't like workspaces remembering variable names because it leaves values attached to names in a way that confuses.<br>
<br>
Imagine a workspace with <br>
"<br>
|foo|<br>
foo := 4.<br>
{more stuff}<br>
<br>
<br>
foo := somethingElse.<br>
<br>
<br>
foo  wibble<br>
"<br>
Depending on whether you select the |foo| you may get very different results if you repeat evaluate various lines. I find that annoying.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:large">My hack for handling more than one doit in a workspace is to include each one in a block.  So I have, e.g.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large"><div class="gmail_default">[| cos |</div><div class="gmail_default">cos := CogVMSimulator newWithOptions: #(Cogit StackToRegisterMappingCogit "SimpleStackBasedCogit"</div><div class="gmail_default"><span class="gmail-Apple-tab-span" style="white-space:pre">                                                                                     </span>ObjectMemory Spur32BitCoMemoryManager</div><div class="gmail_default"><span class="gmail-Apple-tab-span" style="white-space:pre">                                                                                  </span>MULTIPLEBYTECODESETS true), </div><div class="gmail_default"><span class="gmail-Apple-tab-span" style="white-space:pre">                                                                                  </span>{#ISA. Cogit choose32BitISA}.</div><div class="gmail_default">cos openOn: 'spurreader.image'.</div><div class="gmail_default">cos openAsMorph; halt; run].</div><div class="gmail_default"><br></div><div class="gmail_default">[| sis |<br></div><div class="gmail_default">sis := StackInterpreterSimulator newWithOptions: #(ObjectMemory Spur32BitMemoryManager).</div><div class="gmail_default">sis openOn: 'spurreader.image'.</div><div class="gmail_default">sis openAsMorph; run].</div><div class="gmail_default"><br></div><div class="gmail_default">Of course this doesn't solve the issue of having a syntax error in an earlier doit turn everything following red, but it does allow one to have as many "sub doits" with their own temps as one wants.</div><div class="gmail_default"><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
Useful Latin Phrases:- Canis meus id comedit = My dog ate it.<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div>