Re: "id buttonization" test failure

Subject: Re: "id buttonization" test failure

Date: Sat, 08 Oct 2016 09:33:39 -0300



From: David Bremner

David Bremner <> writes:

> 2) I can interactively duplicate a similar, but not identical, bug as
>    follows.
>    - add the attached message (extracted from the test suite) to my mail
>      store
>    - open it notmuch-show (emacs 25.1, gtk/GUI)
>    - go to the last line of the body. By using C-u C-x =, we can observe
>      that the first and third copies of mid:abc are buttonized, but not
>      the second.
>    - this can also be seen by using the tab button.

The following "fixes" this test failure. This suggests to me something
that only fails when notmuch-show-buttonise-links is called from the C
redisplay code, and not when it's called from lisp.

diff --git a/test/ b/test/
index 0342a87..afa75bd 100755
--- a/test/
+++ b/test/
@@ -129,7 +129,8 @@ cid:xxx
 mid:abc mid:abc/def
 mid:abc. mid:abc, mid:abc;"'
-test_emacs '(notmuch-show "id:'$gen_msg_id'")
+test_emacs '(jit-lock-debug-mode)
+	(notmuch-show "id:'$gen_msg_id'")
 	(test-visible-output "OUTPUT.raw")'