[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] All drawers except property drawers are open at startup
From: |
Matthew Lundin |
Subject: |
Re: [BUG] All drawers except property drawers are open at startup |
Date: |
Thu, 28 May 2020 09:18:04 -0500 |
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Matt Lundin <mdl@imapmail.org> writes:
>
>> All drawers default to open at startup except for property drawers. This
>> includes :LOGBOOK: drawers, which can be quite long and block view of an
>> entry.
>
> I think all drawers are opened at startup, including property drawers.
>
>> I ran a git bisect and discovered that the bug was introduced with
>> commit 8b05c06d427e850d45684f69c5165cd7684e1071 on May 9.
>
> Isn't it related to 88f5ed91c5cf9cb6962c1b441eac7dbab9a4734e instead?
>
No. I have the following in my emacs file:
(setq org-startup-folded t)
Here's a minimal recipe for reproducing:
Config file:
(add-to-list 'load-path "~/org-mode/lisp/")
(add-to-list 'load-path "~/org-mode/contrib/lisp/")
(setq org-startup-folded t)
Org file:
* Heading
:PROPERTIES:
:APROP: 1234
:END:
:LOGBOOK:
- State "DONE" from "NOW" [2020-05-27 Wed 23:03]
:END:
:RANDOM:
Some text
:END:
Navigate to file. Navigate to outline heading and hit TAB to cycle/open.
Before commit 8b05c06d427e850d45684f69c5165cd7684e1071 all drawers
remain folded (expected behavior):
* Heading
:PROPERTIES:
:LOGBOOK:
:RANDOM:
Beginning with commit 8b05c06d427e850d45684f69c5165cd7684e1071 only the
PROPERTIES drawer remains folded, so the entry looks like this
(undesired behavior):
* Heading
:PROPERTIES:
:LOGBOOK:
- State "DONE" from "NOW" [2020-05-27 Wed 23:03]
:END:
:RANDOM:
Some text
:END: