emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Heads-up: test failures


From: Nick Dokos
Subject: Re: [O] Heads-up: test failures
Date: Tue, 14 Feb 2017 12:21:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Colin Baxter <address@hidden> writes:

> On Mon, Feb 13 2017, Nick Dokos wrote:
>
>> Nicolas Goaziou <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]