emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#28072: Org Mode Drawer Folds Unexpectedly
       [not found] <CAJhZhAoR7c4OAyWzp_AiEvdC8AucKwXo2KnS9vaiAz0_M2AvfQ@mail.gmail.com>
@ 2017-12-04 20:32 ` Nicolas Goaziou
  2017-12-05 15:14   ` Mitch Norcross
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-12-04 20:32 UTC (permalink / raw)
  To: Mitch Norcross; +Cc: 28072

Hello,

Mitch Norcross <mitch.norcross@gmail.com> writes:

> * ISSUE: Org Mode Drawer Folds Unexpectedly
>
> ** Issue Description
>
>   - Org Mode Drawers fold (unexpected) when user attempts to unfold a plain
>     list item within the drawer after having folded it.
>
> ** Steps To Reproduce the Bug
>
>   - Steps
>       1) Create a plain list with some hierarchy in it
>       2) Put the list in a drawer
>       3) Unfold the drawer
>       4) Fold a list item that has children
>       5) Try to unfold the list item that that you folded
>   - Notice that the drawer then folds, unexpectedly
>
> :mydrawer:
>   - Plain list item with children
>       + some notes here
>       + and here
>       + some more here
> :end:

I cannot reproduce it.

More explicitly, I copied the drawer above in a new file. I folded the
top item, then immediately unfolded it. The drawer didn't move.

Am I missing something?

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

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

* bug#28072: Org Mode Drawer Folds Unexpectedly
  2017-12-04 20:32 ` bug#28072: Org Mode Drawer Folds Unexpectedly Nicolas Goaziou
@ 2017-12-05 15:14   ` Mitch Norcross
  2018-01-14  9:09     ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Mitch Norcross @ 2017-12-05 15:14 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 28072

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

Hello Nicolas,
Thanks you so much for trying to reproduce my observation.
I see the discrepancy that you have uncovered...
It seems that to reproduce the problem, the drawer must be
inside the body of a headlined section.

So, simply adding a headline above the drawer should allow
you to reproduce the problem.  For example:

* Testing drawer that closes unexpectedly

:mydrawer:
  - Plain list item with children
      + some notes here
      + and here
      + some more here
:end:

Looking forward to hearing again from you.

Kind Regards,
/Mitch




On Mon, Dec 4, 2017 at 3:32 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Mitch Norcross <mitch.norcross@gmail.com> writes:
>
> > * ISSUE: Org Mode Drawer Folds Unexpectedly
> >
> > ** Issue Description
> >
> >   - Org Mode Drawers fold (unexpected) when user attempts to unfold a
> plain
> >     list item within the drawer after having folded it.
> >
> > ** Steps To Reproduce the Bug
> >
> >   - Steps
> >       1) Create a plain list with some hierarchy in it
> >       2) Put the list in a drawer
> >       3) Unfold the drawer
> >       4) Fold a list item that has children
> >       5) Try to unfold the list item that that you folded
> >   - Notice that the drawer then folds, unexpectedly
> >
> > :mydrawer:
> >   - Plain list item with children
> >       + some notes here
> >       + and here
> >       + some more here
> > :end:
>
> I cannot reproduce it.
>
> More explicitly, I copied the drawer above in a new file. I folded the
> top item, then immediately unfolded it. The drawer didn't move.
>
> Am I missing something?
>
> Regards,
>
> --
> Nicolas Goaziou                                                0x80A93738
>

[-- Attachment #2: Type: text/html, Size: 2669 bytes --]

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

* bug#28072: Org Mode Drawer Folds Unexpectedly
  2017-12-05 15:14   ` Mitch Norcross
@ 2018-01-14  9:09     ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2018-01-14  9:09 UTC (permalink / raw)
  To: Mitch Norcross; +Cc: 28072-done

Hello,

Mitch Norcross <mitch.norcross@gmail.com> writes:

> Thanks you so much for trying to reproduce my observation.
> I see the discrepancy that you have uncovered...
> It seems that to reproduce the problem, the drawer must be
> inside the body of a headlined section.
>
> So, simply adding a headline above the drawer should allow
> you to reproduce the problem.  For example:
>
> * Testing drawer that closes unexpectedly
>
> :mydrawer:
>   - Plain list item with children
>       + some notes here
>       + and here
>       + some more here
> :end:

This is now fixed on master branch (i.e., yet to be released Org 9.2).

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

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

end of thread, other threads:[~2018-01-14  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAJhZhAoR7c4OAyWzp_AiEvdC8AucKwXo2KnS9vaiAz0_M2AvfQ@mail.gmail.com>
2017-12-04 20:32 ` bug#28072: Org Mode Drawer Folds Unexpectedly Nicolas Goaziou
2017-12-05 15:14   ` Mitch Norcross
2018-01-14  9:09     ` Nicolas Goaziou

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).