Re: "id buttonization" test failure

Subject: Re: "id buttonization" test failure

Date: Fri, 07 Oct 2016 22:30:23 -0300

To: Marius Bakke, notmuch@notmuchmail.org

Cc:

From: David Bremner


Marius Bakke <m.bakke@fastmail.com> writes:

> Hi,
>
> I'm trying to run the test suite on GNU Guix and get a mysterious test
> failure in T450-emacs-show.sh:
>
> T450-emacs-show: Testing emacs notmuch-show view
>  [...]
>  PASS   [11] notmuch-show: disable indentation of thread content (w/ notmuch-show-toggle-thread-indentation)
>  FAIL   [12] id buttonization
>         --- T450-emacs-show.13.OUTPUT   2016-10-06 01:42:21.329950576 +0000
>         +++ T450-emacs-show.13.EXPECTED 2016-10-06 01:42:21.329950576 +0000
>         @@ -23,4 +23,4 @@
>          cid:xxx
>          <<mid:abc>> <<mid:abc/def>>
>          <<mid:abc%20def>>
>         -<<mid:a>>bc. <<mid:abc>>, <<mid:abc>>;
>         +<<mid:abc>>. <<mid:abc>>, <<mid:abc>>;
> nil
>  PASS   [13] Show handles subprocess errors
>
> Any idea what's going on here? It's using emacs-25.1.
>

Some small progress.

1) I can duplicate the test failure with emacs 25.1 built from source on
   debian testing.

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.

3) The bug in 2) seems to be sensitive to the body text. If I delete the
   first 8 body lines, then all of the mid's on the last line are
   buttonized.

msg-002:2,S (application/octet-stream)

Thread: