emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Allowing loose ordering in Org files


From: Stelian Iancu
Subject: Re: [O] Allowing loose ordering in Org files
Date: Mon, 9 Nov 2015 22:13:00 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 09/11/15 21:04, Achim Gratz wrote:
John Wiegley writes:
You will find that the argument really wasn't about performance, but
complexity.

I can accept a complexity argument,

I meant O() complexity, not implementation complexity.

if my request were really "a separate
code-path". I'm not sure it is. For example, my needs could be satisfied by
something as simple as:

     (defun parse-org-entry (...)
         (let ((props (funcall 'parse-org-properties-function ...)))
            ...))

`parse-org-properties-function' would point to a function that does what Org
8.3 does now. This gives me the option of porting over the 8.2 version and
keeping the old behavior. All that needs to be done is to allow this hook, no?

If it's not about providing the alternative behaviour within Org, then
what does this allow you to do that advising parse-org-entry can't?  A
hook still has the cost of simply being there even when I don't use it.


John, if you end up writing an advice for this function, please share it with the list, as I would like the 8.2 behavior as well (I unfortunately don't know enough elisp and org internals to do such a thing).

Thanks!

S.




reply via email to

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