emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Tamulis, Andrius" <andriust@att.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: malformed property drawers [8.3.6 (8.3.6-3-gf46b92-elpa @ c:/Users/atamulis/.emacs.d/elpa/org-20160919/)]
Date: Mon, 03 Oct 2016 18:31:58 +0200	[thread overview]
Message-ID: <87int9qtq9.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <39dade42-75cd-3e2b-157a-8392d6fd360f@att.net> (Andrius Tamulis's message of "Sun, 2 Oct 2016 23:52:42 -0500")

Hello,

"Tamulis, Andrius" <andriust@att.net> writes:

>     1) I've just spent a lot of time trying various searches at the
> emacs-orgmode Archives, and reading through many pages of results, but
> I can't find the mailing list discussion mentioned below by Nicolas.
> Can anyone help? Until I read that, I won't comment further on whether
> it was a good idea to insist that PROPERTIES and dates immediatly
> follow the headline.

The most recent involved John Wiegley, who didn't like this change
either. You also may want to look for a subject tagged with [ANN] where
this change is announced.

Anyway, the main motivation is speed, and removing some pathological
cases, e.g., with entries containing inlinetasks. Now property API runs
in constant time, it scales much better than before.

>     2) If there is good code for fixing the properties drawers, why
> isn't it in the org-agenda-set-property function? The code there now
> just creates new PROPERTIES drawers, ignoring existing ones.

The code in ORG-NEWS do not really "fix" drawers. Your drawers are
perfectly valid in Org 8.3, but they do not have the same meaning. This
function turns them into an equivalent for Org 9.0. This is only
a helper function for the transition.

OTOH, `org-agenda-set-property' function tries to repair wrong drawers,
e.g., when they are missing the :END: part, IIRC.

Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2016-10-03 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dff14d39-03e3-3bf7-3285-637b9047b2e1@att.net>
2016-09-28 21:14 ` Bug: malformed property drawers [8.3.6 (8.3.6-3-gf46b92-elpa @ c:/Users/atamulis/.emacs.d/elpa/org-20160919/)] Tamulis, Andrius
2016-10-02  7:14   ` Colin Baxter
2016-10-02  7:32   ` Nicolas Goaziou
2016-10-03  4:52     ` Tamulis, Andrius
2016-10-03  5:43       ` Colin Baxter
2016-10-03 16:31       ` Nicolas Goaziou [this message]

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=87int9qtq9.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=andriust@att.net \
    --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).