From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mitch Norcross Subject: bug#28072: Org Mode Drawer Folds Unexpectedly Date: Tue, 5 Dec 2017 10:14:27 -0500 Message-ID: References: <87indm6xp3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403043eb5647fc0a2055f994aa8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMEx5-0000bf-GI for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 10:17:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMEw3-0008UM-Uw for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 10:16:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMEw2-0008TJ-PT for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 10:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eMEw2-0003tu-Ee for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 10:15:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87indm6xp3.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: 28072@debbugs.gnu.org --f403043eb5647fc0a2055f994aa8 Content-Type: text/plain; charset="UTF-8" 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 wrote: > Hello, > > Mitch Norcross 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 > --f403043eb5647fc0a2055f994aa8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Nicolas,
Thanks you so much for trying to reprod= uce 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 r= eproduce the problem.=C2=A0 For example:

* Te= sting drawer that closes unexpectedly

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

<= /div>
Looking forward to hearing again from you.

Kind Regards,
/Mitch


= =C2=A0

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

Mitch Norcross <mitch.norcro= ss@gmail.com> writes:

> * ISSUE: Org Mode Drawer Folds Unexpectedly
>
> ** Issue Description
>
>=C2=A0 =C2=A0- Org Mode Drawers fold (unexpected) when user attempts to= unfold a plain
>=C2=A0 =C2=A0 =C2=A0list item within the drawer after having folded it.=
>
> ** Steps To Reproduce the Bug
>
>=C2=A0 =C2=A0- Steps
>=C2=A0 =C2=A0 =C2=A0 =C2=A01) Create a plain list with some hierarchy i= n it
>=C2=A0 =C2=A0 =C2=A0 =C2=A02) Put the list in a drawer
>=C2=A0 =C2=A0 =C2=A0 =C2=A03) Unfold the drawer
>=C2=A0 =C2=A0 =C2=A0 =C2=A04) Fold a list item that has children
>=C2=A0 =C2=A0 =C2=A0 =C2=A05) Try to unfold the list item that that you= folded
>=C2=A0 =C2=A0- Notice that the drawer then folds, unexpectedly
>
> :mydrawer:
>=C2=A0 =C2=A0- Plain list item with children
>=C2=A0 =C2=A0 =C2=A0 =C2=A0+ some notes here
>=C2=A0 =C2=A0 =C2=A0 =C2=A0+ and here
>=C2=A0 =C2=A0 =C2=A0 =C2=A0+ 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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x80A93738

--f403043eb5647fc0a2055f994aa8--