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: Mon, 09 Mar 2015 17:43:34 +0100	[thread overview]
Message-ID: <874mpu3yvd.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20150309110921.GB11863@boo.workgroup> (Gregor Zattler's message of "Mon, 9 Mar 2015 12:09:21 +0100")

Gregor Zattler <telegraph@gmx.net> 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.,

  > :Xxxx: Xxx, xx Xxx xxxx xx:xx:xx +xxxx
  > :Xxxx: Xxxxxxx Xxxxxx <x.xxxxxx@xxx.xx>
  > :Xxxxxxx-XX: <xxxxxxxX.xxxxxxx@xxx.xx>
  > :Xxxxxxx: XXX XXX - XX xx xx.xx.xxxx - Xxxxxx xx. xx:xx
  > :Xx: Xxxxxx Xxxxxx <x.xxxxxx@xxx.xx>, Xxxxxxx Xxxxxx <x.xxxxxx@xxx.xx>, Xxxxxx  Xxxxxx <x.xxxxxx@xxx.xx>, Xxxxx Xxxxx <x.xxxxx@xxx.xx>, Xxxxxxxxx Xxxxxxxxx  <x.xxxxxxxxx@xxx.xx>, Xxxxx Xxxx <x.xxxxx@xxx.xx>, Xxxxxxxxx Xxxxxxxx  <x.xxxxxxxx@xxx.xx>, Xxxxxxx Xxxxxx <x.xxxxxx@xxx.xx>, Xxx Xxxxx Xxxx  <x.xxxx@xxx.xx>, Xxxxxxxx Xxxx <x.xxxxx@xxx.xx>, Xxxxxxx Xxxxx  <x.xxxxx@xxx.xx>, Xxxxxx Xxxxxxx <x.xxxxxxx@xxx.xx>, Xxxxxxx Xxxxx  <x.xxxxx@xxx.xx>, Xxxxx Xxxxxx <x.xxxxxxx@xxx.xx>, Xxxxxxx Xxxxx  <x.xxxxx@xxx.xx>, Xxxxxxxx Xxxx <x.xxxx@xxx.xx>, Xxxxxxxxx Xxxxxxxx  <x.xxxxxxxx@xxx.xx>
  > :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.


  reply	other threads:[~2015-03-09 16:43 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
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 [this message]
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:

  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=874mpu3yvd.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \


* 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


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).