From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Heads-up: test failures Date: Tue, 14 Feb 2017 12:21:26 -0500 Message-ID: <87r330elih.fsf@alphaville.usersys.redhat.com> References: <87d1emexl3.fsf@alphaville.usersys.redhat.com> <84tw7xj32y.fsf@tm6592> <87d1elltjb.fsf@nicolasgoaziou.fr> <8760kdg5id.fsf@alphaville.usersys.redhat.com> <878tp9yz20.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdgnK-0000U9-IE for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 12:21:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdgnG-0006XJ-Dr for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 12:21:38 -0500 Received: from [195.159.176.226] (port=48234 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdgnG-0006X4-61 for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 12:21:34 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cdgn8-0008EO-4l for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 18:21:26 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Colin Baxter writes: > On Mon, Feb 13 2017, Nick Dokos wrote: > >> Nicolas Goaziou writes: >> >>> What is the failure in each case? >> > ---- snip ---- > > Ran 711 tests, 711 results as expected (2017-02-14 07:58:32+0000) > 8 expected failures > > org-mode release_9.0.5-282-g2e32709 > emacs-25.1.1; 3.2.0-4-686-pae #1 SMP Debian 3.2.84-1 i686 GNU/Linux > > It might be that emacs 26 shows the failures (both Marco Wahl and I are running that, but Colin Baxter runs emacs 25 and does not see them). I simulated the move-down test by hand: ,---- | ;; Preserve children visibility. | (org-test-with-temp-text "* Headline | - item 1 | - sub-item 1 | sub-body 1 | - item 2 | - sub-item 2 | sub-body 2" | (let ((org-cycle-include-plain-lists t)) | (search-forward "- sub-item 1") | (org-cycle) | (search-forward "- sub-item 2") | (org-cycle)) | (search-backward "- item 1") | (org-move-item-down) | (search-forward "sub-body 1") | (should (org-invisible-p2)) | (search-backward "sub-body 2") | (should (org-invisible-p2))) `---- The (search-forward "sub-body 1") ends up in a place where (org-invisible-p2) returns t, but the (search-backward "sub-body 2") end up in a place where it returns nil (C-u C-x = shows that it's on the RET, at the end of the sub-item 1 line). Maybe something about such text properties got changed in recent emacs? -- Nick