From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nikolai Weibull <now@disu.se>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-get-property-block can’t handle preceding drawers
Date: Wed, 31 Jan 2018 21:12:56 +0100 [thread overview]
Message-ID: <87shalyegn.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m2lggder0v.fsf@disu.se> (Nikolai Weibull's message of "Wed, 31 Jan 2018 21:01:52 +0100")
Hello,
Nikolai Weibull <now@disu.se> writes:
> At first I figured that the rules had changed and that
> the :PROPERTY: drawer must come first
That's correct.
> but then I tried it out and Org would gladly create a new :LOGBOOK:
> drawer for an entry that already had a :PROPERTY: drawer and place
> the :LOGBOOK: drawer first.
That is a bug. I don't expect anything like this to happen in a recent
Org.
> Now, what’s worse is that the whole “you have a malformed drawers,
> should I fix it?” functionality in org-buffer-property-keys will not
> actually move the :PROPERTY: drawer to the location that it expects,
> it simply creates an empty :PROPERTY: drawer instead and leaves the
> “misplaced” one where it was.
In ORG-NEWS, you will file a function that repairs your documents.
I removed "You have a malformed drawer" question a while ago from the
code base.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2018-01-31 20:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-31 20:01 Org-get-property-block can’t handle preceding drawers Nikolai Weibull
2018-01-31 20:12 ` Nicolas Goaziou [this message]
2018-01-31 20:52 ` Nikolai Weibull
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shalyegn.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=now@disu.se \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.