unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Marius Bakke <m.bakke@fastmail.com>, notmuch@notmuchmail.org
Subject: Re: "id buttonization" test failure
Date: Fri, 07 Oct 2016 22:30:23 -0300	[thread overview]
Message-ID: <8737k7lj9s.fsf@zancas.localnet> (raw)
In-Reply-To: <8737ka19iu.fsf@guixsd.i-did-not-set--mail-host-address--so-tickle-me>

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

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.


[-- Attachment #2: msg-002:2,S --]
[-- Type: application/octet-stream, Size: 542 bytes --]

From: Notmuch Test Suite <test_suite@notmuchmail.org>
To: Notmuch Test Suite <test_suite@notmuchmail.org>
Message-Id: <msg-002@notmuch-test-suite>
Subject: id buttonization
Date: Fri, 05 Jan 2001 15:43:55 +0000


id:abc
id:abc.def. id:abc,def, id:abc;def; id:abc:def:
id:foo@bar.?baz? id:foo@bar!.baz!
(id:foo@bar.baz) [id:foo@bar.baz]
id:foo@bar.baz...
id:2+2=5
id:=_-:/.[]@$%+
id:abc)def
id:ab"c def
id:"abc"def
id:"ab""c"def
id:"ab c"def
id:"abc".def
id:"abc
"
id:)
id:
cid:xxx
mid:abc mid:abc/def
mid:abc%20def
mid:abc. mid:abc, mid:abc;

  parent reply	other threads:[~2016-10-08  1:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-06  2:44 "id buttonization" test failure Marius Bakke
2016-10-06 13:08 ` David Bremner
2016-10-08  1:30 ` David Bremner [this message]
2016-10-08 12:33   ` David Bremner
2016-10-09 15:47     ` David Bremner
2016-10-09 22:30       ` [PATCH] emacs/show: force notmuch-show-buttonise-links to act on lines David Bremner
2016-10-10 18:30         ` Tomi Ollila
2016-10-11 11:25           ` David Bremner
2016-10-12  1:49         ` David Bremner
2016-10-12  2:05       ` "id buttonization" test failure David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737k7lj9s.fsf@zancas.localnet \
    --to=david@tethera.net \
    --cc=m.bakke@fastmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).