Org-mode mailing list
 help / color / mirror / Atom feed
* org-cycle-internal-local unfold a plain list in parent
@ 2020-10-03 10:55 Yasushi SHOJI
  2020-10-03 11:03 ` Yasushi SHOJI
  0 siblings, 1 reply; 2+ messages in thread
From: Yasushi SHOJI @ 2020-10-03 10:55 UTC (permalink / raw)
  To: emacs-org list

Hi,

I see a plain list unfolded when I cycle a sub headline.

Say, I have the following org file:

#+begin_src org
  ,* first
    - foo
      - bar
  ,** second
  ,*** third
#+end_src

Fold the list "foo" and the second headline, thus what you see
on your screen is more like:

* first
  - foo...
** second...

Move your cursor to the headline "second" and hit tab to cycle,
then the list "foo" is also unfolded and you now see "bar"
as well as the headline "third".  I was expecting to see only
the "third".

Is this expected behaviour?
Do I have some customizations on?

This is with release_9.4-43-g262bebb76 with Emacs 27.
-- 
               yashi


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-cycle-internal-local unfold a plain list in parent
  2020-10-03 10:55 org-cycle-internal-local unfold a plain list in parent Yasushi SHOJI
@ 2020-10-03 11:03 ` Yasushi SHOJI
  0 siblings, 0 replies; 2+ messages in thread
From: Yasushi SHOJI @ 2020-10-03 11:03 UTC (permalink / raw)
  To: emacs-org list

Hi,

On Sat, Oct 3, 2020 at 7:55 PM Yasushi SHOJI <yasushi.shoji@gmail.com> wrote:
> Move your cursor to the headline "second" and hit tab to cycle,
> then the list "foo" is also unfolded and you now see "bar"
> as well as the headline "third".  I was expecting to see only
> the "third".

I just run bisection on it and it shows me the following commit:

85ed1fd01dee462b59bcd622b3d0dee739d0214b is the first bad commit
commit 85ed1fd01dee462b59bcd622b3d0dee739d0214b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Mon Dec 25 23:53:26 2017 +0100

    Fix visibility cycling when point is invisible

    * lisp/org.el (org-cycle-internal-local): Fix visibility cycling when
      point is invisible.

    Reported-by: Ruy Exel <ruyexel@gmail.com>
    <http://lists.gnu.org/r/emacs-orgmode/2017-12/msg00314.html>

 lisp/org.el | 1 +
 1 file changed, 1 insertion(+)

Does it ring a bell for anyone?
-- 
           yashi


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-03 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03 10:55 org-cycle-internal-local unfold a plain list in parent Yasushi SHOJI
2020-10-03 11:03 ` Yasushi SHOJI

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git