[BUG] notmuch-emacs highlights '>' quoted wrapped lines incorrectly
tomi.ollila at iki.fi
Fri Jan 6 03:26:31 PST 2017
On Fri, Jan 06 2017, David Edmondson <dme at dme.org> wrote:
> On Fri, Jan 06 2017, Tomi Ollila wrote:
>> On Thu, Jan 05 2017, David Edmondson <dme at dme.org> wrote:
>>> 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
>> How does that behave different than "^\\(>+\\)*" (quick thougth (also))?
> The first matches all of "> > " (which I receive sometimes), the latter
Ah ok, now I understand: coolj when wrapping lines, adds the matched part
to the beginning of lines (match may be empty due to *, meaning not
prefixing line with anything). I don't see any consequences so far.
PS: "^\\(>+ *\\)*" could also be an option but perhaps we could start
with your suggestion before breaking thing even more >;)
More information about the notmuch