emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mitch Norcross <mitch.norcross@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 28072@debbugs.gnu.org
Subject: bug#28072: Org Mode Drawer Folds Unexpectedly
Date: Tue, 5 Dec 2017 10:14:27 -0500	[thread overview]
Message-ID: <CAJhZhApG74Op3+TkFpMVgmLCj_H4B-++ZntSp1hV+SPeax+tEg@mail.gmail.com> (raw)
In-Reply-To: <87indm6xp3.fsf@nicolasgoaziou.fr>

[-- 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 --]

  reply	other threads:[~2017-12-05 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2018-01-14  9:09     ` Nicolas Goaziou

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJhZhApG74Op3+TkFpMVgmLCj_H4B-++ZntSp1hV+SPeax+tEg@mail.gmail.com \
    --to=mitch.norcross@gmail.com \
    --cc=28072@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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 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).