From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D88016DE129E for ; Sat, 8 Oct 2016 05:33:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.006 X-Spam-Level: X-Spam-Status: No, score=-0.006 tagged_above=-999 required=5 tests=[AWL=0.005, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GrHhpki_hEFr for ; Sat, 8 Oct 2016 05:33:44 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 3DBA26DE1299 for ; Sat, 8 Oct 2016 05:33:44 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1bsqoh-0002wN-Br; Sat, 08 Oct 2016 08:33:27 -0400 Received: (nullmailer pid 13904 invoked by uid 1000); Sat, 08 Oct 2016 12:33:39 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: "id buttonization" test failure In-Reply-To: <8737k7lj9s.fsf@zancas.localnet> References: <8737ka19iu.fsf@guixsd.i-did-not-set--mail-host-address--so-tickle-me> <8737k7lj9s.fsf@zancas.localnet> Date: Sat, 08 Oct 2016 09:33:39 -0300 Message-ID: <87eg3r3tr0.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2016 12:33:44 -0000 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/T450-emacs-show.sh b/test/T450-emacs-show.sh index 0342a87..afa75bd 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -129,7 +129,8 @@ cid:xxx mid:abc mid:abc/def mid:abc%20def 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'") (notmuch-test-mark-links) (test-visible-output "OUTPUT.raw")' cat <EXPECTED