<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 8/7/2021 12:07 PM, Nicola Mingotti via Cuis-dev wrote:
    <blockquote
cite="mid:CAG5qL5QdrKYSKYYtv89mjAY2tJ31GQ-VN=rXYQ9=iQLu2ZZY6Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-family: monospace;">I
          finally have the fileout for this chagne as well !<br>
        </div>
        <div class="gmail_default" style="font-family: monospace;"><br>
        </div>
        <div class="gmail_default" style="font-family: monospace;">-----------------------------
          Example -------------------------------</div>
        <div class="gmail_default" style="font-family: monospace;">
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"
            id="gmail-docs-internal-guid-03a53d8b-7fff-3c0e-4c45-1f0562c31d30"><span
              style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">Preferences
              askForSaveOnQuit . " true "</span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;">" try to quit, World->Quit you
              see the menu asking to save"</span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;"><br>
            </span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;">Preferences disable:
              #askForSaveOnQuit.</span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;">Preferences askForSaveOnQuit . "
              false "</span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;"><br>
            </span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;">" try to quit now. World->Quit,
              ATTENTION, it just quits! "</span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;">-------------------------------------------<br>
            </span></p>
          <p dir="ltr" style="line-height: 1.38; margin-top: 0pt;
            margin-bottom: 0pt;"><span style="font-size: 9pt;
              font-family: "Roboto Mono",monospace; color:
              rgb(0, 0, 0); background-color: transparent; font-weight:
              400; font-style: normal; font-variant: normal;
              text-decoration: none; vertical-align: baseline;
              white-space: pre-wrap;"><br>
            </span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">Attention,
              when booting next time Cuis might ask if your system
              crashed,</span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">and
              if you want try to recover. Say no. <br>
            </span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">I
              bypass this deleting all *.changes files, then</span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">recovering
              the original .changes file and finally run Cuis.</span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;"><br>
            </span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">bye</span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;">Nicola</span></p>
          <p style="line-height: 1.38; margin-top: 0pt; margin-bottom:
            0pt;"><span style="font-size: 9pt; font-family: "Roboto
              Mono",monospace; color: rgb(0, 0, 0);
              background-color: transparent; font-weight: 400;
              font-style: normal; font-variant: normal; text-decoration:
              none; vertical-align: baseline; white-space: pre-wrap;"><br>
            </span></p>
        </div>
      </div>
    </blockquote>
    <br>
    Cool, thanks. The reason there is a different behavior now is
    because of calling the primitive directly. See the change I just
    posted to GitHub, that avoids asking the user, but calls the same
    exit sequence as before.<br>
    <br>
    Thanks,<br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
    <br>
    <blockquote
cite="mid:CAG5qL5QdrKYSKYYtv89mjAY2tJ31GQ-VN=rXYQ9=iQLu2ZZY6Q@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, Aug 1, 2021 at 1:58 AM
          Juan Vuletich <<a moz-do-not-send="true"
            href="mailto:juan@jvuletich.org">juan@jvuletich.org</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 bgcolor="#ffffff"> Hi Nicola,<br>
            <br>
            On 7/31/2021 12:24 PM, Nicola Mingotti via Cuis-dev wrote:
            <blockquote type="cite"> <br>
              Hi Juan,<br>
              <br>
              <br>
              <blockquote type="cite">
                <blockquote type="cite"><font size="+1"><font
                      face="monospace"> 3] Since I am automatizing the
                      system via script I would prefer that when<br>
                      I select World -> Quit the system stop asking
                      me if I want to save the image,<br>
                      by default I don't want. Is there a variable the
                      say that ? Or do I need to make<br>
                      a change, file it out and file it in in the '.st'
                      file ? <br>
                      <br>
                    </font></font></blockquote>
                <br>
                If you are doing it via code, just call
                #snapshot:andQuit:clearAllClassState: yourself. If you
                want a new / different menu option, just add it. See
                senders of #quitSession<br>
                <br>
                <pre cols="72">-- 
Juan Vuletich
</pre>
              </blockquote>
              <br>
              Ok for the code, I can for sure add a entry menu, It
              should not be difficult.<br>
              <br>
              But i have a suggestion. Since the CuisBook recommends, as
              good practice, not to save the image<br>
              I would say it would be nice for the system to have a
              global variable like<br>
              "#saveImageOnQuit" set to true by default.<br>
              <br>
              Then, when i user is experienced enough to have all the
              Git things set up he can just<br>
              toggle the value of the variable via script at image boot
              and have the system behave as recommended<br>
              by the book. Reference to that variable should be in the
              book in paragraph 9.5.1.<br>
              <br>
              I can try to implement this myself if you guys think is a
              nice feature to have.<br>
              <br>
              bye<br>
              Nicola<br>
            </blockquote>
            <br>
            Yes, that makes sense. Please go ahead. Make it selectable
            by something like<br>
            <br>
            Preferences enable: #askForSaveOnQuit<br>
            Preferences disable: #askForSaveOnQuit<br>
            <br>
            default to true.<br>
            <br>
            Thanks!<br>
            <pre cols="72">-- 
Juan Vuletich
<a moz-do-not-send="true" href="http://www.cuis-smalltalk.org" target="_blank">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" href="https://github.com/jvuletich" target="_blank">https://github.com/jvuletich</a>
<a moz-do-not-send="true" href="https://www.linkedin.com/in/juan-vuletich-75611b3" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>