From: David Edmondson <dme@dme.org>
To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
Subject: Re: [BUG] notmuch-emacs highlights '>' quoted wrapped lines incorrectly
Date: Thu, 05 Jan 2017 19:01:04 +0000 [thread overview]
Message-ID: <m2pok1e3gv.fsf@dme.org> (raw)
In-Reply-To: <87a8b5pcky.fsf@nikula.org>
On Thu, Jan 05 2017, Jani Nikula wrote:
> When the show view in notmuch-emacs highlights quoted text, any long,
> folded lines in quotes prefixed using '>' fail to be highlighted. Quotes
> prefixed using '> ' work fine. See below.
Maybe fiddle with `coolj-line-prefix-regexp', which is "^\\(>+ \\)*" by
default (note the space).
"^\\(>+ ?\\)*" gets it working, but I didn't think through all of the
consequences.
> BR,
> Jani.
>
>
> Quoting using '> ' works fine:
>> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
>> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
>> velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
>> mollit anim id est laborum.
>
> Quoting using '>' highlights any wrapped lines incorrectly:
>>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
>>veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
>>velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
>>mollit anim id est laborum.
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
next prev parent reply other threads:[~2017-01-05 19:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 18:48 [BUG] notmuch-emacs highlights '>' quoted wrapped lines incorrectly Jani Nikula
2017-01-05 19:01 ` David Edmondson [this message]
2017-01-06 10:30 ` Tomi Ollila
2017-01-06 10:46 ` David Edmondson
2017-01-06 11:26 ` Tomi Ollila
2021-12-25 23:31 ` [PATCH] emacs: update coolj-line-prefix-regexp to make space optional David Bremner
2021-12-29 17:47 ` Tomi Ollila
2021-12-29 18:26 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2pok1e3gv.fsf@dme.org \
--to=dme@dme.org \
--cc=jani@nikula.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).