From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Heads-up: test failures
Date: Tue, 14 Feb 2017 12:21:26 -0500 [thread overview]
Message-ID: <87r330elih.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 878tp9yz20.fsf@yandex.com
Colin Baxter <m43cap@yandex.com> writes:
> On Mon, Feb 13 2017, Nick Dokos wrote:
>
>> Nicolas Goaziou <mail@nicolasgoaziou.fr> 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
next prev parent reply other threads:[~2017-02-14 17:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 18:48 Heads-up: test failures Nick Dokos
2017-02-13 19:36 ` Marco Wahl
2017-02-13 20:34 ` Nicolas Goaziou
2017-02-13 21:11 ` Nick Dokos
2017-02-14 8:08 ` Colin Baxter
2017-02-14 17:21 ` Nick Dokos [this message]
2017-02-14 21:28 ` Colin Baxter
2017-02-14 22:26 ` Nick Dokos
2017-02-15 5:53 ` Colin Baxter
2017-02-15 2:32 ` John Hendy
2017-02-15 3:53 ` Vladimir Lomov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r330elih.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.