File indexing completed on 2024-05-12 04:02:09

0001 <!DOCTYPE html>
0002 <html><head>
0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0004 <title>test.eml</title>
0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Email) - Theme (Breeze Dark)"/>
0006 </head><body style="background-color:#232629;color:#cfcfc2"><pre>
0007 <span style="color:#7f8c8d">Return-Path:</span> <span style="color:#27aeae">&lt;kwrite-devel-bounces@kde.org></span>
0008 <span style="color:#8e44ad">X-Sieve: </span>CMU Sieve 2.3
0009 <span style="color:#8e44ad">X-Virus-Scanned: </span>amavisd-new at site
0010 <span style="color:#7f8c8d">Authentication-Results:</span> linux.site <span style="color:#7a7c7d">(amavisd-new)</span>; dkim=pass <span style="color:#7a7c7d">(1024-bit key)</span>
0011     header.d=kde.org
0012 <span style="color:#7f8c8d">Received:</span> from postbox.kde.org <span style="color:#7a7c7d">(localhost.localdomain [127.0.0.1])</span>
0013     by postbox.kde.org <span style="color:#7a7c7d">(Postfix)</span> with ESMTP id 3167DB6E75;
0014     Wed,  5 Oct 2016 20:21:47 +0000 <span style="color:#7a7c7d">(UTC)</span>
0015     <span style="color:#7a7c7d">(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))</span>
0016     <span style="color:#7a7c7d">(above comment is a test-case from bug #425345)</span>
0017 <span style="color:#7f8c8d">DKIM-Signature:</span> v=1; a=rsa-sha256; c=simple/simple; d=kde.org; s=default;
0018     t=1475698907; bh=6i+3UfR6HLC54wVtp5SF4sVWvQn63jzu9vD2zJal/kY=;
0019     h=From:To:Subject:Date:Reply-To:List-Id:List-Unsubscribe:List-Post:
0020      List-Help:List-Subscribe:From;
0021     b=M5nfHbmJe/4DPuidrJ901dUzX3FmpVpyUrPM961Or9bKrMO+z9gaTUwbfPR74Rq8B
0022      Rv66yf3ZaDuRZxv/ARPzpr8qnDTtf13WRFZ/ySdqqqQJKeBqCAd7/wbR0kHhypvpwe
0023      z4nY6+bNnjvFelPXR56o16b+/Ib2GTYJ9hwiG97U=
0024 <span style="color:#8e44ad">X-Original-To: </span>kwrite-devel@kde.org
0025 <span style="color:#7f8c8d">Delivered-To:</span> <span style="color:#27aeae">kwrite-devel@localhost.kde.org</span>
0026 <span style="color:#7f8c8d">Received-SPF:</span> Neutral <span style="color:#7a7c7d">(access neither permitted nor denied)</span> identity=mailfrom;
0027  client-ip=85.214.234.26; helo=h2265959.stratoserver.net;
0028  envelope-from=<span style="color:#27aeae">vkrause@kde.org</span>; receiver=<span style="color:#27aeae">kwrite-devel@kde.org</span>
0029 <span style="color:#7f8c8d">From:</span> Volker Krause <span style="color:#27aeae">&lt;vkrause@kde.org></span>
0030 <span style="color:#7f8c8d">To:</span> <span style="color:#27aeae">kwrite-devel@kde.org</span>
0031 <span style="color:#7f8c8d">Cc:</span> <span style="color:#27aeae">&lt;boss@nil.test></span>, <span style="color:#f44f4f">"Giant; </span><span style="color:#3daee9">\"</span><span style="color:#f44f4f">Big</span><span style="color:#3daee9">\"</span><span style="color:#f44f4f"> Box"</span> <span style="color:#27aeae">&lt;sysservices@example.net></span>
0032     <span style="color:#7a7c7d">(CC example from RFC 5322 Appendix A.1.2)</span>
0033 <span style="color:#7f8c8d">Subject:</span> KSyntaxHighlighting is cool! Happy: :-) Sad: :-(
0034  Subject goes on here > &lt; ] [
0035 <span style="color:#7f8c8d">Date:</span> Wed, 05 Oct 2016 22:19:17 +0200
0036 <span style="color:#7f8c8d">Message-ID:</span> <span style="color:#27aeae">&lt;2420385.jiZKTgWtgY@vkpc5></span>
0037 <span style="color:#7f8c8d">Organization:</span> KDE
0038 <span style="color:#7f8c8d">User-Agent:</span> KMail/4.14.10 <span style="color:#7a7c7d">(Linux/4.1.13-5-default; KDE/4.14.16; x86_64;</span>
0039 <span style="color:#7a7c7d"> git-91275a7; 2015-12-13)</span>
0040 <span style="color:#7f8c8d">MIME-Version:</span> 1.0
0041 <span style="color:#7f8c8d">Content-Type:</span> multipart/signed; boundary=<span style="color:#f44f4f">"nextPart1575059.2yRQ5x6HOo"</span>;
0042  micalg=<span style="color:#f44f4f">"pgp-sha1"</span>; protocol=<span style="color:#f44f4f">"application/pgp-signature"</span>
0043 <span style="color:#8e44ad">X-BeenThere: </span>kwrite-devel@kde.org
0044 <span style="color:#8e44ad">X-Mailman-Version: </span>2.1.16
0045 <span style="color:#7f8c8d">Precedence:</span> list
0046 <span style="color:#7f8c8d">Reply-To:</span> <span style="color:#27aeae">kwrite-devel@kde.org</span>
0047 <span style="color:#7f8c8d">List-Id:</span> Kate/KWrite Mailing List &lt;kwrite-devel.kde.org>
0048 <span style="color:#7f8c8d">List-Unsubscribe:</span> &lt;https://mail.kde.org/mailman/options/kwrite-devel>,
0049  &lt;mailto:<span style="color:#27aeae">kwrite-devel-request@kde.org</span>?subject=unsubscribe>
0050 <span style="color:#7f8c8d">List-Post:</span> &lt;mailto:<span style="color:#27aeae">kwrite-devel@kde.org></span>
0051 <span style="color:#7f8c8d">List-Help:</span> &lt;mailto:<span style="color:#27aeae">kwrite-devel-request@kde.org</span>?subject=help>
0052 <span style="color:#7f8c8d">List-Subscribe:</span> &lt;https://mail.kde.org/mailman/listinfo/kwrite-devel>,
0053  &lt;mailto:<span style="color:#27aeae">kwrite-devel-request@kde.org</span>?subject=subscribe>
0054 <span style="color:#7f8c8d">Errors-To:</span> <span style="color:#27aeae">kwrite-devel-bounces@kde.org</span>
0055 <span style="color:#7f8c8d">Sender:</span> <span style="color:#f44f4f">"KWrite-Devel"</span> <span style="color:#27aeae">&lt;kwrite-devel-bounces@kde.org></span>
0056 
0057 
0058 <span style="color:#2980b9;background-color:#153042">--nextPart1575059.2yRQ5x6HOo</span>
0059 <span style="color:#7f8c8d">Content-Transfer-Encoding:</span> 7Bit
0060 <span style="color:#7f8c8d">Content-Type:</span> text/plain; charset=<span style="color:#f44f4f">"us-ascii"</span>
0061 
0062 Hi,
0063 
0064 when trying to add the unit test for the new Praat highlighting to
0065 KF5::SyntaxHighlighting it turned out that the output doesn't match at all
0066 that of Kate. We managed to trace this back to the following rather surprising
0067 (and apparently undocumented) behavior in Kate:
0068 
0069 When a context switch (anywhere in a line) pops more contexts than were on the
0070 stack when starting the line, it executes line end context switches of the
0071 previous line contexts.
0072 
0073 | | | | | | The corresponding code is in KateHighlighting::generateContextStack(),
0074 | | > | > KF5::SyntaxHighlighting doesn't do this (yet), Praat is apparently the first
0075 > | > format we have tests for that uses this behavior.
0076 
0077 > Does anyone remember why we do this, or happens to know which highlighting
0078 > files besides Praat rely on this?
0079 
0080 > > Archeology can trace this back to the dark CVS ages even, one reference
0081 > > Dominik has dug up is a 10 year old SVN commit
0082 > > (https://quickgit.kde.org/?p=kdelibs.git&amp;a=commit&amp;h=90ef47f582277745f727d89f05f72f1e1705fdc4
0083 > >), where Christoph claims to understand what this code does ;)
0084 
0085 > > > As this is highly unexpected and hard to reason about behavior, Dominik and I
0086 > > > > were wondering if we can possibly drop this, and rather fix affected
0087 > > > > > highlighting files instead?
0088 
0089 Regards,
0090 Volker
0091 <span style="color:#2980b9;background-color:#153042">--nextPart1575059.2yRQ5x6HOo</span>
0092 <span style="color:#7f8c8d">Content-Type:</span> application/pgp-signature; name=<span style="color:#f44f4f">"signature.asc"</span>
0093 <span style="color:#7f8c8d">Content-Description:</span> This is a digitally signed message part.
0094 <span style="color:#7f8c8d">Content-Transfer-Encoding:</span> 7Bit
0095 
0096 -----BEGIN PGP SIGNATURE-----
0097 Version: GnuPG v2
0098 
0099 iD8DBQBX9WBIf5bM1k0S0kcRAireAJ4lCWa08Y5yU1ezIvKVCAfnkhcUbACgou0O
0100 X4c+lkPI0tti59KV1vetaeU=
0101 =VqDS
0102 -----END PGP SIGNATURE-----
0103 
0104 <span style="color:#2980b9;background-color:#153042">--nextPart1575059.2yRQ5x6HOo--</span>
0105 </pre></body></html>