emacs-orgmode@gnu.org archives
 help / color / mirror / code / 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
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ 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] 4+ 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
  2021-04-27 20:45 ` Bastien
  2021-05-02  5:11 ` Bastien
  2 siblings, 0 replies; 4+ 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] 4+ 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
@ 2021-04-27 20:45 ` Bastien
  2021-05-02  5:11 ` Bastien
  2 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2021-04-27 20:45 UTC (permalink / raw)
  To: Yasushi SHOJI; +Cc: emacs-org list

Hi Yasushi,

sorry for the slow reply.

Yasushi SHOJI <yasushi.shoji@gmail.com> writes:

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

I have no time fixing this right now, but I confirm the bug,
thanks for reporting this.


^ permalink raw reply	[flat|nested] 4+ 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
  2021-04-27 20:45 ` Bastien
@ 2021-05-02  5:11 ` Bastien
  2 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2021-05-02  5:11 UTC (permalink / raw)
  To: Yasushi SHOJI; +Cc: emacs-org list

Hi Yasushi,

Yasushi SHOJI <yasushi.shoji@gmail.com> writes:

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

Fixed in maint with commit 5021bada9, thanks again for reporting this.

-- 
 Bastien


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

end of thread, other threads:[~2021-05-02  5:13 UTC | newest]

Thread overview: 4+ 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
2021-04-27 20:45 ` Bastien
2021-05-02  5:11 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).