<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/07/2016 02:03 PM, Gabriele Bulfon
      via Info-cyrus wrote:<br>
    </div>
    <blockquote cite="mid:139418.370.1467914635571.JavaMail.sonicle@www"
      type="cite">
      <div style="font-family: Arial; font-size: 13;">I can finally get
        back to this after so many months!</div>
      <div style="font-family: Arial; font-size: 13;">I checked the
        sources, and I actually see it doesn't look very hard.</div>
      <div style="font-family: Arial; font-size: 13;"><br>
      </div>
      <div style="font-family: Arial; font-size: 13;">Looks like:</div>
      <div style="font-family: Arial; font-size: 13;">- renaming all
        functions like "index_thread_ref" into "index_thread_references"</div>
      <div style="font-family: Arial; font-size: 13;">- duplicate them
        as "index_thread_refs"</div>
      <div style="font-family: Arial; font-size: 13;">- let "references"
        alg call the "references" funcs</div>
      <div style="font-family: Arial; font-size: 13;">- add support for
        "refs" in thread_algs and let them call the "refs" funcs</div>
    </blockquote>
    <br>
    Makes sense.<br>
    <br>
    <br>
    <blockquote cite="mid:139418.370.1467914635571.JavaMail.sonicle@www"
      type="cite">
      <div style="font-family: Arial; font-size: 13;"><br>
      </div>
      <div style="font-family: Arial; font-size: 13;">then:</div>
      <div style="font-family: Arial; font-size: 13;">- completely
        remove the call to "ref_group_subjects", we don't want it at all
        in refs</div>
      <div style="font-family: Arial; font-size: 13;">- change the
        sortcrit to use the SORT_REVERSE modifier</div>
    </blockquote>
    <br>
    As long as you mean making these changes for just the "refs" variant
    and not both.<br>
    <br>
    <br>
    <br>
    <blockquote cite="mid:139418.370.1467914635571.JavaMail.sonicle@www"
      type="cite">
      <div style="font-family: Arial; font-size: 13;"><br>
      </div>
      <div style="font-family: Arial; font-size: 13;">what do you think?
        may be fine?<br>
        <br>
        <div id="wt-mailcard">
          <div style="font-family: Arial;">----------------------------------------------------------------------------------------<br>
          </div>
          <div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a
              moz-do-not-send="true" href="http://www.sonicle.com/"
              target="_new"><a class="moz-txt-link-freetext" href="http://www.sonicle.com">http://www.sonicle.com</a></a></div>
          <div style="font-family: Arial;"><b>Music: </b><a
              moz-do-not-send="true"
              href="http://www.gabrielebulfon.com/" target="_new"><a class="moz-txt-link-freetext" href="http://www.gabrielebulfon.com">http://www.gabrielebulfon.com</a></a></div>
          <div style="font-family: Arial;"><b>Quantum Mechanics : </b><a
              moz-do-not-send="true"
              href="http://www.cdbaby.com/cd/gabrielebulfon"
              target="_new"><a class="moz-txt-link-freetext" href="http://www.cdbaby.com/cd/gabrielebulfon">http://www.cdbaby.com/cd/gabrielebulfon</a></a></div>
        </div>
        <br>
        <hr><br>
        <br>
        <font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b>
          Ken Murchison <a class="moz-txt-link-rfc2396E" href="mailto:murch@andrew.cmu.edu"><murch@andrew.cmu.edu></a><br>
          <b>A:</b> <a class="moz-txt-link-abbreviated" href="mailto:info-cyrus@lists.andrew.cmu.edu">info-cyrus@lists.andrew.cmu.edu</a> <br>
          <b>Data:</b> 5 ottobre 2015 14.04.02 CEST<br>
          <b>Oggetto:</b> Re: thread=refs<br>
        </font><br>
        <br>
        <blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT:
          5px; PADDING-LEFT: 5px"> As far as I can tell, the last
          specification for thread=refs was here:<a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="https://tools.ietf.org/html/draft-ietf-morg-inthread-01"><a class="moz-txt-link-freetext" href="https://tools.ietf.org/html/draft-ietf-morg-inthread-01">https://tools.ietf.org/html/draft-ietf-morg-inthread-01</a></a><br>
          <br>
          To implement this you want to look at index.c in the Cyrus
          source and add another entry to the thread_algs[] array. I'm
          guessing that you can reuse a lot of the existing
          index_thread_ref() code (which is probably needs to be renamed
          to index_thread_references()).<br>
          <br>
          <br>
          <br>
          <div class="moz-cite-prefix">On 10/05/2015 06:07 AM, Gabriele
            Bulfon wrote:<br>
          </div>
          <blockquote
            cite="mid:18262603.71.1444039631264.JavaMail.sonicle@www"
            type="cite">
            <div style="font-family: Verdana; font-size: 12;">
              <div id="wt-mailcard">Great, Ken. Can you give me some
                advice / pointer to the sources I should look at?</div>
              <div id="wt-mailcard"><br>
              </div>
              <div id="wt-mailcard">Gabriele</div>
              <br>
              <hr><br>
              <br>
              <font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b>
                Ken Murchison <a moz-do-not-send="true"
                  class="moz-txt-link-rfc2396E"
                  href="mailto:murch@andrew.cmu.edu"><murch@andrew.cmu.edu></a><br>
                <b>A:</b> <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:info-cyrus@lists.andrew.cmu.edu">info-cyrus@lists.andrew.cmu.edu</a>
                <br>
                <b>Data:</b> 2 ottobre 2015 19.08.04 CEST<br>
                <b>Oggetto:</b> Re: thread=refs<br>
              </font><br>
              <br>
              <blockquote style="BORDER-LEFT: #000080 2px solid;
                MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
                <div class="moz-cite-prefix">On 10/02/2015 10:53 AM,
                  Gabriele Bulfon wrote:<br>
                </div>
                <blockquote
                  cite="mid:11844453.9.1443797615639.JavaMail.sonicle@www"
                  type="cite">
                  <div style="font-family: Verdana; font-size: 12;">
                    <div id="wt-mailcard">Nice, it's not a big deal for
                      us to upgrade to new versions, surely easier than
                      porting to Dovecot! ;)<br>
                      <br>
                      So, maybe we can help with the implementation.</div>
                    <div id="wt-mailcard">In my mind, it's almost about
                      changing the "thread=reference" and let it omit
                      the subject matching, change sorting</div>
                    <div id="wt-mailcard">and...maybe just this? How
                      much hard do you think it is?</div>
                    <br>
                  </div>
                </blockquote>
                <br>
                That sounds about right from what I remember of
                THREAD=REFERENCES (which I co-authored and implemented)
                and THREAD=REFS (which I think was last documented in
                2010).<br>
                <br>
                <br>
                <br>
                <blockquote
                  cite="mid:11844453.9.1443797615639.JavaMail.sonicle@www"
                  type="cite">
                  <div style="font-family: Verdana; font-size: 12;">
                    <hr><br>
                    <br>
                    <font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b>
                      Bron Gondwana <a moz-do-not-send="true"
                        class="moz-txt-link-rfc2396E"
                        href="mailto:brong@fastmail.fm"><brong@fastmail.fm></a><br>
                      <b>A:</b> <a moz-do-not-send="true"
                        class="moz-txt-link-abbreviated"
                        href="mailto:info-cyrus@lists.andrew.cmu.edu">info-cyrus@lists.andrew.cmu.edu</a>
                      <br>
                      <b>Data:</b> 2 ottobre 2015 12.59.08 CEST<br>
                      <b>Oggetto:</b> Re: thread=refs<br>
                    </font><br>
                    <br>
                    <blockquote style="BORDER-LEFT: #000080 2px solid;
                      MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
                      <div>No, there isn't. The conversations work in
                        3.0 beta contains a lot of what would be
                        required to efficiently implement THREAD=REFS,
                        but nobody has done the work to implement it.<br>
                      </div>
                      <div> </div>
                      <div>It certainly will never be backported to the
                        2.4 series, which is only getting security
                        updates and fixes for major bugs now.<br>
                      </div>
                      <div> </div>
                      <div>Regards,<br>
                      </div>
                      <div> </div>
                      <div>Bron.<br>
                      </div>
                      <div> </div>
                      <div> </div>
                      <div>On Fri, Oct 2, 2015, at 18:40, Gabriele
                        Bulfon wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div>Hi,<br>
                        </div>
                        <div> </div>
                        <div>we have systems running cyrus 2.4.12, where
                          thread algorithms are only references and
                          orderedsubject.<br>
                        </div>
                        <div>Is there support for the thread=refs
                          algorithm?<br>
                        </div>
                        <div> </div>
                        <div>Thanks<br>
                        </div>
                        <div>Gabriele<br>
                        </div>
                        <div>----<br>
                        </div>
                        <div>Cyrus Home Page: <a moz-do-not-send="true"
                            href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br>
                        </div>
                        <div>List Archives/Info: <a
                            moz-do-not-send="true"
                            href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/"><a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a></a><br>
                        </div>
                        <div>To Unsubscribe:<br>
                        </div>
                        <div><a moz-do-not-send="true"
                            href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br>
                        </div>
                      </blockquote>
                      <div> </div>
                      <div id="sig567075">
                        <div class="signature">--<br>
                        </div>
                        <div class="signature"> Bron Gondwana<br>
                        </div>
                        <div class="signature"> <a
                            moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="mailto:brong@fastmail.fm"><a class="moz-txt-link-abbreviated" href="mailto:brong@fastmail.fm">brong@fastmail.fm</a></a><br>
                        </div>
                        <div class="signature"> </div>
                      </div>
                      <div> </div>
                    </blockquote>
                  </div>
                  <br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre wrap="">----
Cyrus Home Page: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
                </blockquote>
                <br>
                <br>
                <pre class="moz-signature" cols="72">-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University
</pre>
              </blockquote>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">----
Cyrus Home Page: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
          </blockquote>
          <br>
          <pre class="moz-signature" cols="72">-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University
</pre>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University
</pre>
  </body>
</html>