From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug?] org-repair-property-drawers does not repair whole file Date: Mon, 09 Mar 2015 17:43:34 +0100 Message-ID: <874mpu3yvd.fsf@nicolasgoaziou.fr> References: <20150225233650.GA6671@boo.workgroup> <87sidf4e5b.fsf@nicolasgoaziou.fr> <20150308200218.GA13900@boo.workgroup> <87d24j40zr.fsf@nicolasgoaziou.fr> <20150309110921.GB11863@boo.workgroup> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0ll-0004CW-9E for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 12:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV0la-0008SB-CL for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 12:43:05 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:47017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0la-0008Rq-2z for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 12:42:54 -0400 Received: from mfilter27-d.gandi.net (mfilter27-d.gandi.net [217.70.178.155]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id EADC5FB8FF for ; Mon, 9 Mar 2015 17:42:52 +0100 (CET) Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter27-d.gandi.net (mfilter27-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 7MYtarFxxSUv for ; Mon, 9 Mar 2015 17:42:21 +0100 (CET) Received: from selenimh (unknown [91.224.148.150]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id AA60CFB8D6 for ; Mon, 9 Mar 2015 17:42:20 +0100 (CET) In-Reply-To: <20150309110921.GB11863@boo.workgroup> (Gregor Zattler's message of "Mon, 9 Mar 2015 12:09:21 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Gregor Zattler writes: > No. I removed the line numbers so that the stars of the headings > are at the first column and invoced `org-repair-property-drawers' > in the same way as described above. The buffer remains > unmodified and the output is `nil'. I cannot reproduce it. >> Is it possible to have access to the file? You might want to hide >> contents first with the following function >> >> (defun scramble-contents () > > Yes. I scrambled it with your function, changed tags (which were > not scrambled by `scramble-contents') and obfuscated clock lines. > The result is attached. I see invalid property drawers, e.g., > :PROPERTIES: > :Xxxx: Xxx, xx Xxx xxxx xx:xx:xx +xxxx > :Xxxx: Xxxxxxx Xxxxxx > :Xxxxxxx-XX: > :Xxxxxxx: XXX XXX - XX xx xx.xx.xxxx - Xxxxxx xx. xx:xx > :Xx: Xxxxxx Xxxxxx , Xxxxxxx Xxxxxx , Xxxxxx Xxxxxx , Xxxxx Xxxxx , Xxxxxxxxx Xxxxxxxxx , Xxxxx Xxxx , Xxxxxxxxx Xxxxxxxx , Xxxxxxx Xxxxxx , Xxx Xxxxx Xxxx , Xxxxxxxx Xxxx , Xxxxxxx Xxxxx , Xxxxxx Xxxxxxx , Xxxxxxx Xxxxx , Xxxxx Xxxxxx , Xxxxxxx Xxxxx , Xxxxxxxx Xxxx , Xxxxxxxxx Xxxxxxxx > :Xxxx: Xxxxx XXXxxx, > xx xx.x.xxxx xxx xxx xxxxxxx Xxxxxxxxxxxxxxxxxxxxxxxxx xxx XXX. > Xxx xxxxxxx xxx xxxxxxxx Xxxxxxxxxxxx xxx, xxxx xxxxxxx Xxxxxx xxx Xxxxxxxxx xxxx, > xxxxx xxx Xxxx xx xxxx: > XXX x Xxxxxxxxx > XXX x Xxxxxxxxxxxx > XXX x Xxxxxxxxxx > XXX x Xxxxxxxxxxx xxx Xxxxxxxxxxxxxxxxxxxxx - Xxx xxxxxx xxx xxxx xxxxxx > Xxxxxxxxxxxxxxxxxxxxx xxxxxxx xxxx? (Xxx x XX) > XXX x Xxxxxxxxxxxx xxx Xxxx xxx Xxxxxxxxxx xxx Xxxxxxxxxxxxxx (Xxx x XX) > XXX x Xxxxxxxxxxxxx xxx Xxxxxxxxxxxxxxxxxxx xxxx/Xxxxxxxxxxxxxxx xxxx xxx XX xxx > XXX (Xxx x XX) > XXX x Xxxxxxxxxxxxx xxx XXX-XXX (Xxxxxxxxxxxxxx!) xxxx xxx xxxxxxxx Xxxxxxxxxxx > xxx XXX (Xxx x XX) > XXX x Xxxxxxxxx > Xxx xxxxxxx xxx, xxxx xxx xxxxxx Xxxxxxxx xxxx xxx Xxxxxxxxx xxxxxx (xx. xx:xx, > xxxxxxx Xxxxxx xxx xxxx xxxxxxxxxxx). > Xxx xxxx xxx Xxxxxx, xxx xxxxxxx xxxxx (xxxxxxx) xxxx xxxxx xxxxxxx. > Xxxxx Xxxxx xxx xxx xxxxxxxxxx Xxxxxx. > Xxxxxxx > :END: A property drawer can contain only node properties, and there is one node property per line. Ill-formed property drawers were not moved. Regards,