106 lines
7.1 KiB
HTML
106 lines
7.1 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<title>test.eml</title>
|
|
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Email) - Theme (Breeze Dark)"/>
|
|
</head><body style="background-color:#232629;color:#cfcfc2"><pre>
|
|
<span style="color:#7f8c8d">Return-Path:</span> <span style="color:#27aeae"><kwrite-devel-bounces@kde.org></span>
|
|
<span style="color:#8e44ad">X-Sieve: </span>CMU Sieve 2.3
|
|
<span style="color:#8e44ad">X-Virus-Scanned: </span>amavisd-new at site
|
|
<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>
|
|
header.d=kde.org
|
|
<span style="color:#7f8c8d">Received:</span> from postbox.kde.org <span style="color:#7a7c7d">(localhost.localdomain [127.0.0.1])</span>
|
|
by postbox.kde.org <span style="color:#7a7c7d">(Postfix)</span> with ESMTP id 3167DB6E75;
|
|
Wed, 5 Oct 2016 20:21:47 +0000 <span style="color:#7a7c7d">(UTC)</span>
|
|
<span style="color:#7a7c7d">(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))</span>
|
|
<span style="color:#7a7c7d">(above comment is a test-case from bug #425345)</span>
|
|
<span style="color:#7f8c8d">DKIM-Signature:</span> v=1; a=rsa-sha256; c=simple/simple; d=kde.org; s=default;
|
|
t=1475698907; bh=6i+3UfR6HLC54wVtp5SF4sVWvQn63jzu9vD2zJal/kY=;
|
|
h=From:To:Subject:Date:Reply-To:List-Id:List-Unsubscribe:List-Post:
|
|
List-Help:List-Subscribe:From;
|
|
b=M5nfHbmJe/4DPuidrJ901dUzX3FmpVpyUrPM961Or9bKrMO+z9gaTUwbfPR74Rq8B
|
|
Rv66yf3ZaDuRZxv/ARPzpr8qnDTtf13WRFZ/ySdqqqQJKeBqCAd7/wbR0kHhypvpwe
|
|
z4nY6+bNnjvFelPXR56o16b+/Ib2GTYJ9hwiG97U=
|
|
<span style="color:#8e44ad">X-Original-To: </span>kwrite-devel@kde.org
|
|
<span style="color:#7f8c8d">Delivered-To:</span> <span style="color:#27aeae">kwrite-devel@localhost.kde.org</span>
|
|
<span style="color:#7f8c8d">Received-SPF:</span> Neutral <span style="color:#7a7c7d">(access neither permitted nor denied)</span> identity=mailfrom;
|
|
client-ip=85.214.234.26; helo=h2265959.stratoserver.net;
|
|
envelope-from=<span style="color:#27aeae">vkrause@kde.org</span>; receiver=<span style="color:#27aeae">kwrite-devel@kde.org</span>
|
|
<span style="color:#7f8c8d">From:</span> Volker Krause <span style="color:#27aeae"><vkrause@kde.org></span>
|
|
<span style="color:#7f8c8d">To:</span> <span style="color:#27aeae">kwrite-devel@kde.org</span>
|
|
<span style="color:#7f8c8d">Cc:</span> <span style="color:#27aeae"><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"><sysservices@example.net></span>
|
|
<span style="color:#7a7c7d">(CC example from RFC 5322 Appendix A.1.2)</span>
|
|
<span style="color:#7f8c8d">Subject:</span> KSyntaxHighlighting is cool! Happy: :-) Sad: :-(
|
|
Subject goes on here > < ] [
|
|
<span style="color:#7f8c8d">Date:</span> Wed, 05 Oct 2016 22:19:17 +0200
|
|
<span style="color:#7f8c8d">Message-ID:</span> <span style="color:#27aeae"><2420385.jiZKTgWtgY@vkpc5></span>
|
|
<span style="color:#7f8c8d">Organization:</span> KDE
|
|
<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>
|
|
<span style="color:#7a7c7d"> git-91275a7; 2015-12-13)</span>
|
|
<span style="color:#7f8c8d">MIME-Version:</span> 1.0
|
|
<span style="color:#7f8c8d">Content-Type:</span> multipart/signed; boundary=<span style="color:#f44f4f">"nextPart1575059.2yRQ5x6HOo"</span>;
|
|
micalg=<span style="color:#f44f4f">"pgp-sha1"</span>; protocol=<span style="color:#f44f4f">"application/pgp-signature"</span>
|
|
<span style="color:#8e44ad">X-BeenThere: </span>kwrite-devel@kde.org
|
|
<span style="color:#8e44ad">X-Mailman-Version: </span>2.1.16
|
|
<span style="color:#7f8c8d">Precedence:</span> list
|
|
<span style="color:#7f8c8d">Reply-To:</span> <span style="color:#27aeae">kwrite-devel@kde.org</span>
|
|
<span style="color:#7f8c8d">List-Id:</span> Kate/KWrite Mailing List <kwrite-devel.kde.org>
|
|
<span style="color:#7f8c8d">List-Unsubscribe:</span> <https://mail.kde.org/mailman/options/kwrite-devel>,
|
|
<mailto:<span style="color:#27aeae">kwrite-devel-request@kde.org</span>?subject=unsubscribe>
|
|
<span style="color:#7f8c8d">List-Post:</span> <mailto:<span style="color:#27aeae">kwrite-devel@kde.org></span>
|
|
<span style="color:#7f8c8d">List-Help:</span> <mailto:<span style="color:#27aeae">kwrite-devel-request@kde.org</span>?subject=help>
|
|
<span style="color:#7f8c8d">List-Subscribe:</span> <https://mail.kde.org/mailman/listinfo/kwrite-devel>,
|
|
<mailto:<span style="color:#27aeae">kwrite-devel-request@kde.org</span>?subject=subscribe>
|
|
<span style="color:#7f8c8d">Errors-To:</span> <span style="color:#27aeae">kwrite-devel-bounces@kde.org</span>
|
|
<span style="color:#7f8c8d">Sender:</span> <span style="color:#f44f4f">"KWrite-Devel"</span> <span style="color:#27aeae"><kwrite-devel-bounces@kde.org></span>
|
|
|
|
|
|
<span style="color:#2980b9;background-color:#153042">--nextPart1575059.2yRQ5x6HOo</span>
|
|
<span style="color:#7f8c8d">Content-Transfer-Encoding:</span> 7Bit
|
|
<span style="color:#7f8c8d">Content-Type:</span> text/plain; charset=<span style="color:#f44f4f">"us-ascii"</span>
|
|
|
|
Hi,
|
|
|
|
when trying to add the unit test for the new Praat highlighting to
|
|
KF5::SyntaxHighlighting it turned out that the output doesn't match at all
|
|
that of Kate. We managed to trace this back to the following rather surprising
|
|
(and apparently undocumented) behavior in Kate:
|
|
|
|
When a context switch (anywhere in a line) pops more contexts than were on the
|
|
stack when starting the line, it executes line end context switches of the
|
|
previous line contexts.
|
|
|
|
| | | | | | The corresponding code is in KateHighlighting::generateContextStack(),
|
|
| | > | > KF5::SyntaxHighlighting doesn't do this (yet), Praat is apparently the first
|
|
> | > format we have tests for that uses this behavior.
|
|
|
|
> Does anyone remember why we do this, or happens to know which highlighting
|
|
> files besides Praat rely on this?
|
|
|
|
> > Archeology can trace this back to the dark CVS ages even, one reference
|
|
> > Dominik has dug up is a 10 year old SVN commit
|
|
> > (https://quickgit.kde.org/?p=kdelibs.git&a=commit&h=90ef47f582277745f727d89f05f72f1e1705fdc4
|
|
> >), where Christoph claims to understand what this code does ;)
|
|
|
|
> > > As this is highly unexpected and hard to reason about behavior, Dominik and I
|
|
> > > > were wondering if we can possibly drop this, and rather fix affected
|
|
> > > > > highlighting files instead?
|
|
|
|
Regards,
|
|
Volker
|
|
<span style="color:#2980b9;background-color:#153042">--nextPart1575059.2yRQ5x6HOo</span>
|
|
<span style="color:#7f8c8d">Content-Type:</span> application/pgp-signature; name=<span style="color:#f44f4f">"signature.asc"</span>
|
|
<span style="color:#7f8c8d">Content-Description:</span> This is a digitally signed message part.
|
|
<span style="color:#7f8c8d">Content-Transfer-Encoding:</span> 7Bit
|
|
|
|
-----BEGIN PGP SIGNATURE-----
|
|
Version: GnuPG v2
|
|
|
|
iD8DBQBX9WBIf5bM1k0S0kcRAireAJ4lCWa08Y5yU1ezIvKVCAfnkhcUbACgou0O
|
|
X4c+lkPI0tti59KV1vetaeU=
|
|
=VqDS
|
|
-----END PGP SIGNATURE-----
|
|
|
|
<span style="color:#2980b9;background-color:#153042">--nextPart1575059.2yRQ5x6HOo--</span>
|
|
</pre></body></html>
|