[PATCH] emacs/show: force notmuch-show-buttonise-links to act on lines

David Bremner david at tethera.net
Tue Oct 11 04:25:35 PDT 2016


Tomi Ollila <tomi.ollila at iki.fi> writes:

> On Mon, Oct 10 2016, David Bremner <david at tethera.net> wrote:
>
>> This seems to fix a problem with emacs 25 creating partial buttons by
>> calling n-s-b-l with a region that does not include the whole button.
>> I'm not 100% sure it's legit to act outside the region passed by
>> jit-lock, but goto-address-fontify-region (where I borrowed the code
>> from) already does this, so this patch to not make things worse.
>> ---
>
> Applies cleanly and fixes the test in question on fedora 24

I was a bit worried about the performance impact, but according to
profiling it doesn't really seem to be a hotspot, 0% in profiling of
rending a 600 message thread. So unless I hear some cogent objections,
I'm going ahead with this.

d


More information about the notmuch mailing list