[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] A file with 'org-mode rot'?
From: |
Marco Wahl |
Subject: |
Re: [O] A file with 'org-mode rot'? |
Date: |
Tue, 11 Nov 2014 21:43:40 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Hi Karl,
Karl Voit <address@hidden> writes:
> In the recent weeks I had the issue that LOGBOOK drawers were
> moved before PROPERTIES drawers ending up in double PROPERTIES
> drawers where the second one is ignored (habit, ...) or just one
> LOGBOOK drawer followed by one ignored PROPERTIES drawer:
>
> * example heading with two PROPERTIES drawers
> :PROPERTIES:
> :CREATED: [2014-08-02 Sat 11:37]
> :END:
> :LOGBOOK:...
> :PROPERTIES:
> :CREATED: [2014-07-16 Mon 14:42]
> :STYLE: habit
> :END:
>
> * example heading with LOGBOOK before PROPERTIES and thus being ignored
> :LOGBOOK:...
> :PROPERTIES:
> :CREATED: [2014-07-16 Mon 14:42]
> :STYLE: habit
> :END:
>
> (I am using (org-expiry-insinuate) to automatically create the
> PROPERTIES drawer with the CREATED line if this matters here.)
>
> This results in a big mess on my agenda and I had to fix those
> headings semi-manually. Very annoying!
>
> I don't have a clue, what causes this behavior since there is only a
> (large) sub-set of my headings that got this mix-up.
There has been an incompatible change for 8.3 about a month ago. Since
then property drawers need "to be located right after a headline and its
planning line, when applicable." See file etc/ORG-NEWS and commit
1aad53b. Note also the org-repair-property-drawers function there.
HTH, Marco
--
http://www.wahlzone.de
GPG: 0x0A3AE6F2