| 1 |
<!DOCTYPE html> |
| 2 |
<html><head> |
| 3 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 4 |
<title>test.eml</title> |
| 5 |
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Email) - Theme (Breeze Light)"/> |
| 6 |
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre> |
| 7 |
<span style="color:#644a9b;font-weight:bold;">Return-Path:</span> <span style="color:#0057ae;"><[email protected]></span> |
| 8 |
<span style="color:#644a9b;">X-Sieve: </span>CMU Sieve 2.3 |
| 9 |
<span style="color:#644a9b;">X-Virus-Scanned: </span>amavisd-new at site |
| 10 |
<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> |
| 11 |
header.d=kde.org |
| 12 |
<span style="color:#644a9b;font-weight:bold;">Received:</span> from postbox.kde.org <span style="color:#898887;">(localhost.localdomain [127.0.0.1])</span> |
| 13 |
by postbox.kde.org <span style="color:#898887;">(Postfix)</span> with ESMTP id 3167DB6E75; |
| 14 |
Wed, 5 Oct 2016 20:21:47 +0000 <span style="color:#898887;">(UTC)</span> |
| 15 |
<span style="color:#898887;">(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))</span> |
| 16 |
<span style="color:#898887;">(above comment is a test-case from bug #425345)</span> |
| 17 |
<span style="color:#644a9b;font-weight:bold;">DKIM-Signature:</span> v=1; a=rsa-sha256; c=simple/simple; d=kde.org; s=default; |
| 18 |
t=1475698907; bh=6i+3UfR6HLC54wVtp5SF4sVWvQn63jzu9vD2zJal/kY=; |
| 19 |
h=From:To:Subject:Date:Reply-To:List-Id:List-Unsubscribe:List-Post: |
| 20 |
List-Help:List-Subscribe:From; |
| 21 |
b=M5nfHbmJe/4DPuidrJ901dUzX3FmpVpyUrPM961Or9bKrMO+z9gaTUwbfPR74Rq8B |
| 22 |
Rv66yf3ZaDuRZxv/ARPzpr8qnDTtf13WRFZ/ySdqqqQJKeBqCAd7/wbR0kHhypvpwe |
| 23 |
z4nY6+bNnjvFelPXR56o16b+/Ib2GTYJ9hwiG97U= |
| 24 |
<span style="color:#644a9b;">X-Original-To: </span>[email protected] |
| 25 |
<span style="color:#644a9b;font-weight:bold;">Delivered-To:</span> <span style="color:#0057ae;">[email protected]</span> |
| 26 |
<span style="color:#644a9b;font-weight:bold;">Received-SPF:</span> Neutral <span style="color:#898887;">(access neither permitted nor denied)</span> identity=mailfrom; |
| 27 |
client-ip=85.214.234.26; helo=h2265959.stratoserver.net; |
| 28 |
envelope-from=<span style="color:#0057ae;">[email protected]</span>; receiver=<span style="color:#0057ae;">[email protected]</span> |
| 29 |
<span style="color:#644a9b;font-weight:bold;">From:</span> Volker Krause <span style="color:#0057ae;"><[email protected]></span> |
| 30 |
<span style="color:#644a9b;font-weight:bold;">To:</span> <span style="color:#0057ae;">[email protected]</span> |
| 31 |
<span style="color:#644a9b;font-weight:bold;">Cc:</span> <span style="color:#0057ae;"><[email protected]></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;"><[email protected]></span> |
| 32 |
<span style="color:#898887;">(CC example from RFC 5322 Appendix A.1.2)</span> |
| 33 |
<span style="color:#644a9b;font-weight:bold;">Subject:</span> KSyntaxHighlighting is cool! Happy: :-) Sad: :-( |
| 34 |
Subject goes on here > < ] [ |
| 35 |
<span style="color:#644a9b;font-weight:bold;">Date:</span> Wed, 05 Oct 2016 22:19:17 +0200 |
| 36 |
<span style="color:#644a9b;font-weight:bold;">Message-ID:</span> <span style="color:#0057ae;"><2420385.jiZKTgWtgY@vkpc5></span> |
| 37 |
<span style="color:#644a9b;font-weight:bold;">Organization:</span> KDE |
| 38 |
<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> |
| 39 |
<span style="color:#898887;"> git-91275a7; 2015-12-13)</span> |
| 40 |
<span style="color:#644a9b;font-weight:bold;">MIME-Version:</span> 1.0 |
| 41 |
<span style="color:#644a9b;font-weight:bold;">Content-Type:</span> multipart/signed; boundary=<span style="color:#bf0303;">"nextPart1575059.2yRQ5x6HOo"</span>; |
| 42 |
micalg=<span style="color:#bf0303;">"pgp-sha1"</span>; protocol=<span style="color:#bf0303;">"application/pgp-signature"</span> |
| 43 |
<span style="color:#644a9b;">X-BeenThere: </span>[email protected] |
| 44 |
<span style="color:#644a9b;">X-Mailman-Version: </span>2.1.16 |
| 45 |
<span style="color:#644a9b;font-weight:bold;">Precedence:</span> list |
| 46 |
<span style="color:#644a9b;font-weight:bold;">Reply-To:</span> <span style="color:#0057ae;">[email protected]</span> |
| 47 |
<span style="color:#644a9b;font-weight:bold;">List-Id:</span> Kate/KWrite Mailing List <kwrite-devel.kde.org> |
| 48 |
<span style="color:#644a9b;font-weight:bold;">List-Unsubscribe:</span> <https://mail.kde.org/mailman/options/kwrite-devel>, |
| 49 |
<mailto:<span style="color:#0057ae;">[email protected]</span>?subject=unsubscribe> |
| 50 |
<span style="color:#644a9b;font-weight:bold;">List-Post:</span> <mailto:<span style="color:#0057ae;">[email protected]></span> |
| 51 |
<span style="color:#644a9b;font-weight:bold;">List-Help:</span> <mailto:<span style="color:#0057ae;">[email protected]</span>?subject=help> |
| 52 |
<span style="color:#644a9b;font-weight:bold;">List-Subscribe:</span> <https://mail.kde.org/mailman/listinfo/kwrite-devel>, |
| 53 |
<mailto:<span style="color:#0057ae;">[email protected]</span>?subject=subscribe> |
| 54 |
<span style="color:#644a9b;font-weight:bold;">Errors-To:</span> <span style="color:#0057ae;">[email protected]</span> |
| 55 |
<span style="color:#644a9b;font-weight:bold;">Sender:</span> <span style="color:#bf0303;">"KWrite-Devel"</span> <span style="color:#0057ae;"><[email protected]></span> |
| 56 |
|
| 57 |
|
| 58 |
<span style="color:#0057ae;background-color:#e0e9f8;">--nextPart1575059.2yRQ5x6HOo</span> |
| 59 |
<span style="color:#644a9b;font-weight:bold;">Content-Transfer-Encoding:</span> 7Bit |
| 60 |
<span style="color:#644a9b;font-weight:bold;">Content-Type:</span> text/plain; charset=<span style="color:#bf0303;">"us-ascii"</span> |
| 61 |
|
| 62 |
Hi, |
| 63 |
|
| 64 |
when trying to add the unit test for the new Praat highlighting to |
| 65 |
KF5::SyntaxHighlighting it turned out that the output doesn't match at all |
| 66 |
that of Kate. We managed to trace this back to the following rather surprising |
| 67 |
(and apparently undocumented) behavior in Kate: |
| 68 |
|
| 69 |
When a context switch (anywhere in a line) pops more contexts than were on the |
| 70 |
stack when starting the line, it executes line end context switches of the |
| 71 |
previous line contexts. |
| 72 |
|
| 73 |
| | | | | | The corresponding code is in KateHighlighting::generateContextStack(), |
| 74 |
| | > | > KF5::SyntaxHighlighting doesn't do this (yet), Praat is apparently the first |
| 75 |
> | > format we have tests for that uses this behavior. |
| 76 |
|
| 77 |
> Does anyone remember why we do this, or happens to know which highlighting |
| 78 |
> files besides Praat rely on this? |
| 79 |
|
| 80 |
> > Archeology can trace this back to the dark CVS ages even, one reference |
| 81 |
> > Dominik has dug up is a 10 year old SVN commit |
| 82 |
> > (https://quickgit.kde.org/?p=kdelibs.git&a=commit&h=90ef47f582277745f727d89f05f72f1e1705fdc4 |
| 83 |
> >), where Christoph claims to understand what this code does ;) |
| 84 |
|
| 85 |
> > > As this is highly unexpected and hard to reason about behavior, Dominik and I |
| 86 |
> > > > were wondering if we can possibly drop this, and rather fix affected |
| 87 |
> > > > > highlighting files instead? |
| 88 |
|
| 89 |
Regards, |
| 90 |
Volker |
| 91 |
<span style="color:#0057ae;background-color:#e0e9f8;">--nextPart1575059.2yRQ5x6HOo</span> |
| 92 |
<span style="color:#644a9b;font-weight:bold;">Content-Type:</span> application/pgp-signature; name=<span style="color:#bf0303;">"signature.asc"</span> |
| 93 |
<span style="color:#644a9b;font-weight:bold;">Content-Description:</span> This is a digitally signed message part. |
| 94 |
<span style="color:#644a9b;font-weight:bold;">Content-Transfer-Encoding:</span> 7Bit |
| 95 |
|
| 96 |
-----BEGIN PGP SIGNATURE----- |
| 97 |
Version: GnuPG v2 |
| 98 |
|
| 99 |
iD8DBQBX9WBIf5bM1k0S0kcRAireAJ4lCWa08Y5yU1ezIvKVCAfnkhcUbACgou0O |
| 100 |
X4c+lkPI0tti59KV1vetaeU= |
| 101 |
=VqDS |
| 102 |
-----END PGP SIGNATURE----- |
| 103 |
|
| 104 |
<span style="color:#0057ae;background-color:#e0e9f8;">--nextPart1575059.2yRQ5x6HOo--</span> |
| 105 |
</pre></body></html> |