Re: Removing notmuch-wash-excerpt-citations from hook breaks fontlocking

Subject: Re: Removing notmuch-wash-excerpt-citations from hook breaks fontlocking

Date: Wed, 25 Jul 2018 16:33:45 +0800

To: Sean Whitton, notmuch@notmuchmail.org, notmuch@freelists.org

Cc:

From: David Bremner


Sean Whitton <spwhitton@spwhitton.name> writes:

>
> 3. M-x customize-variable notmuch-show-insert-text/plain-hook RET
>
> 4. Untick notmuch-wash-excerpt-citations
>
> 5. Open notmuch-show on a message
>
> Expected result:
>
> Quoted text is fontlocked, i.e. a different colour to body text.
>
> Actual result:
>
> Quoted text is not fontlocked.

The issue is that the notmuch-wash-cited-text is applied in
notmuch-was-excerpt-citations. A simple solution would be to make
another wash function that did less (only did the overlay application)
and use that.

d


Thread: