emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [BUG] All drawers except property drawers are open at startup
Date: Thu, 28 May 2020 09:18:04 -0500	[thread overview]
Message-ID: <87k10ww3c3.fsf@fastmail.fm> (raw)
In-Reply-To: <871rn4z18k.fsf@nicolasgoaziou.fr>

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:



  reply	other threads:[~2020-05-28 14:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 21:52 [BUG] All drawers except property drawers are open at startup Matt Lundin
2020-05-28 12:35 ` Nicolas Goaziou
2020-05-28 14:18   ` Matthew Lundin [this message]
2020-06-06  2:25     ` Matt Lundin
2020-06-06  3:34       ` stardiviner
2020-06-09 11:52       ` 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=87k10ww3c3.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@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).