emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug?] org-repair-property-drawers does not repair whole file


From: Nicolas Goaziou
Subject: Re: [O] [bug?] org-repair-property-drawers does not repair whole file
Date: Sun, 08 Mar 2015 18:01:20 +0100

Hello,

Gregor Zattler <address@hidden> writes:

> I invoked org-repair-property-drawers on a fairly large org-mode
> file.  It did sort some PROPERTIES drawers in front of LOGBOOK
> ones but not all.  Since I do not understand the logic of
> org-repair-property-drawers I prepared a file with the structure
> of the org-mode file after running org-repair-property-drawers on
> it:
>
> egrep "^\*+|^ *:PROPERTIES:|^ *:LOGBOOK:|^ *:END:" file.org |nl 
> >headings-properties-logbook-numbered
>
> sed -e "s/\(^
> \+[0-9]\+[[:space:]]*\*\+[[:space:]]*\)\(TODO\|INPROGRESS\|WAITING\|VERIFY\|DONE\|DELEGATED\|CANCELLED\|PUTOFF\|IDEA\)*\(.*$\)/\1\2/"
> headings-properties-logbook-numbered
>>headings-properties-logbook-numbered.anon
>
> I don’t how to isolate the bug or the circumstances which trigger
> it.  The file headings-properties-logbook-numbered.anon is
> attached to this email.  I hope it might be useful to you to find
> the bug.

Unfortunately it doesn't ring a bell. 

Running `org-repair-property-drawers' on your file repairs it. Would it
be related to `org-inlinetask' (i.e., different behaviour if the library
is loaded or not)?

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]