[BUG] notmuch-emacs highlights '>' quoted wrapped lines incorrectly

Tomi Ollila tomi.ollila at iki.fi
Fri Jan 6 02:30:20 PST 2017


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
> consequences.

How does that behave different than "^\\(>+\\)*" (quick thougth (also))?

Tomi

>
>> 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 at notmuchmail.org
>> https://notmuchmail.org/mailman/listinfo/notmuch
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list