File indexing completed on 2025-02-02 03:54:47
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 Light)"/> 0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre> 0007 <span style="color:#644a9b;font-weight:bold">Return-Path:</span> <span style="color:#0057ae"><kwrite-devel-bounces@kde.org></span> 0008 <span style="color:#644a9b">X-Sieve: </span>CMU Sieve 2.3 0009 <span style="color:#644a9b">X-Virus-Scanned: </span>amavisd-new at site 0010 <span style="color:#644a9b;font-weight:bold">Authentication-Results:</span> linux.site <span style="color:#898887">(amavisd-new)</span>; dkim=pass <span style="color:#898887">(1024-bit key)</span> 0011 header.d=kde.org 0012 <span style="color:#644a9b;font-weight:bold">Received:</span> from postbox.kde.org <span style="color:#898887">(localhost.localdomain [127.0.0.1])</span> 0013 by postbox.kde.org <span style="color:#898887">(Postfix)</span> with ESMTP id 3167DB6E75; 0014 Wed, 5 Oct 2016 20:21:47 +0000 <span style="color:#898887">(UTC)</span> 0015 <span style="color:#898887">(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))</span> 0016 <span style="color:#898887">(above comment is a test-case from bug #425345)</span> 0017 <span style="color:#644a9b;font-weight:bold">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:#644a9b">X-Original-To: </span>kwrite-devel@kde.org 0025 <span style="color:#644a9b;font-weight:bold">Delivered-To:</span> <span style="color:#0057ae">kwrite-devel@localhost.kde.org</span> 0026 <span style="color:#644a9b;font-weight:bold">Received-SPF:</span> Neutral <span style="color:#898887">(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:#0057ae">vkrause@kde.org</span>; receiver=<span style="color:#0057ae">kwrite-devel@kde.org</span> 0029 <span style="color:#644a9b;font-weight:bold">From:</span> Volker Krause <span style="color:#0057ae"><vkrause@kde.org></span> 0030 <span style="color:#644a9b;font-weight:bold">To:</span> <span style="color:#0057ae">kwrite-devel@kde.org</span> 0031 <span style="color:#644a9b;font-weight:bold">Cc:</span> <span style="color:#0057ae"><boss@nil.test></span>, <span style="color:#bf0303">"Giant; </span><span style="color:#3daee9">\"</span><span style="color:#bf0303">Big</span><span style="color:#3daee9">\"</span><span style="color:#bf0303"> Box"</span> <span style="color:#0057ae"><sysservices@example.net></span> 0032 <span style="color:#898887">(CC example from RFC 5322 Appendix A.1.2)</span> 0033 <span style="color:#644a9b;font-weight:bold">Subject:</span> KSyntaxHighlighting is cool! Happy: :-) Sad: :-( 0034 Subject goes on here > < ] [ 0035 <span style="color:#644a9b;font-weight:bold">Date:</span> Wed, 05 Oct 2016 22:19:17 +0200 0036 <span style="color:#644a9b;font-weight:bold">Message-ID:</span> <span style="color:#0057ae"><2420385.jiZKTgWtgY@vkpc5></span> 0037 <span style="color:#644a9b;font-weight:bold">Organization:</span> KDE 0038 <span style="color:#644a9b;font-weight:bold">User-Agent:</span> KMail/4.14.10 <span style="color:#898887">(Linux/4.1.13-5-default; KDE/4.14.16; x86_64;</span> 0039 <span style="color:#898887"> git-91275a7; 2015-12-13)</span> 0040 <span style="color:#644a9b;font-weight:bold">MIME-Version:</span> 1.0 0041 <span style="color:#644a9b;font-weight:bold">Content-Type:</span> multipart/signed; boundary=<span style="color:#bf0303">"nextPart1575059.2yRQ5x6HOo"</span>; 0042 micalg=<span style="color:#bf0303">"pgp-sha1"</span>; protocol=<span style="color:#bf0303">"application/pgp-signature"</span> 0043 <span style="color:#644a9b">X-BeenThere: </span>kwrite-devel@kde.org 0044 <span style="color:#644a9b">X-Mailman-Version: </span>2.1.16 0045 <span style="color:#644a9b;font-weight:bold">Precedence:</span> list 0046 <span style="color:#644a9b;font-weight:bold">Reply-To:</span> <span style="color:#0057ae">kwrite-devel@kde.org</span> 0047 <span style="color:#644a9b;font-weight:bold">List-Id:</span> Kate/KWrite Mailing List <kwrite-devel.kde.org> 0048 <span style="color:#644a9b;font-weight:bold">List-Unsubscribe:</span> <https://mail.kde.org/mailman/options/kwrite-devel>, 0049 <mailto:<span style="color:#0057ae">kwrite-devel-request@kde.org</span>?subject=unsubscribe> 0050 <span style="color:#644a9b;font-weight:bold">List-Post:</span> <mailto:<span style="color:#0057ae">kwrite-devel@kde.org></span> 0051 <span style="color:#644a9b;font-weight:bold">List-Help:</span> <mailto:<span style="color:#0057ae">kwrite-devel-request@kde.org</span>?subject=help> 0052 <span style="color:#644a9b;font-weight:bold">List-Subscribe:</span> <https://mail.kde.org/mailman/listinfo/kwrite-devel>, 0053 <mailto:<span style="color:#0057ae">kwrite-devel-request@kde.org</span>?subject=subscribe> 0054 <span style="color:#644a9b;font-weight:bold">Errors-To:</span> <span style="color:#0057ae">kwrite-devel-bounces@kde.org</span> 0055 <span style="color:#644a9b;font-weight:bold">Sender:</span> <span style="color:#bf0303">"KWrite-Devel"</span> <span style="color:#0057ae"><kwrite-devel-bounces@kde.org></span> 0056 0057 0058 <span style="color:#0057ae;background-color:#e0e9f8">--nextPart1575059.2yRQ5x6HOo</span> 0059 <span style="color:#644a9b;font-weight:bold">Content-Transfer-Encoding:</span> 7Bit 0060 <span style="color:#644a9b;font-weight:bold">Content-Type:</span> text/plain; charset=<span style="color:#bf0303">"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&a=commit&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:#0057ae;background-color:#e0e9f8">--nextPart1575059.2yRQ5x6HOo</span> 0092 <span style="color:#644a9b;font-weight:bold">Content-Type:</span> application/pgp-signature; name=<span style="color:#bf0303">"signature.asc"</span> 0093 <span style="color:#644a9b;font-weight:bold">Content-Description:</span> This is a digitally signed message part. 0094 <span style="color:#644a9b;font-weight:bold">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:#0057ae;background-color:#e0e9f8">--nextPart1575059.2yRQ5x6HOo--</span> 0105 </pre></body></html>