emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [bug?] org-repair-property-drawers does not repair whole file
Date: Sun, 08 Mar 2015 18:01:20 +0100	[thread overview]
Message-ID: <87sidf4e5b.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20150225233650.GA6671@boo.workgroup> (Gregor Zattler's message of "Thu, 26 Feb 2015 00:36:50 +0100")

Hello,

Gregor Zattler <telegraph@gmx.net> 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	other threads:[~2015-03-08 17:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 23:36 [bug?] org-repair-property-drawers does not repair whole file Gregor Zattler
2015-03-08 17:01 ` Nicolas Goaziou [this message]
2015-03-08 20:02   ` Gregor Zattler
2015-03-08 21:45     ` Nicolas Goaziou
2015-03-09 11:09       ` Gregor Zattler
2015-03-09 16:43         ` Nicolas Goaziou
2015-03-09 19:27           ` Gregor Zattler
2015-03-10  8:18             ` 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=87sidf4e5b.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).