emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Suggestion/bug: Parse inlinetask "END" with level sensitivity


From: Anders Johansson
Subject: Re: [O] Suggestion/bug: Parse inlinetask "END" with level sensitivity
Date: Tue, 18 Feb 2014 00:22:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Great!
Taking a look at your solution I realize where the bug lay as well. Level is unimportant, it just scanned too long previously (it should only look if the next headline contains "END", not look for the next headline with "END").

Regards,
Anders Johansson

Den mån 17 feb 2014 23:05:02 skrev Nicolas Goaziou:
Hello,

Anders Johansson <address@hidden> writes:

I thought that I would be able to use both tasks with and without an
"END" line interchangeably:

*************** inlinetask without end
some text

*************** inlinetask with end
                         text inside inlinetask
*************** END

The problem (not so surprising really) is that the parser finds the
"END" of the second inlinetask and makes them nested in an export.

This should be fixed in maint. Thank you for reporting it.

For the record, inlinetasks cannot be nested, and the number of stars is
not meaningful, as long as it is greater than `org-inlinetask-min-level'.


Regards,




reply via email to

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