jman <emacs-orgm...@city17.xyz> writes:

> The example orgmode snippet provided:
>
> --8<---------------cut here---------------start------------->8---
> * Meeting at location with multi-line address
> <2024-01-08 Mon 14:20-15:00>
> :PROPERTIES:
> :LOCATION:  Someplace
> :LOCATION+: Some Street 5
> :LOCATION+: 12345 Small Town
> :END:
> --8<---------------cut here---------------end--------------->8---
>
> is exported as
> ...

That example is not correct.
Properties drawer cannot be placed after timestamp (it must either
follow headline itself or planning line).

Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3bc197100

The correct example is

* Meeting at location with multi-line address
:PROPERTIES:
:LOCATION:  Someplace
:LOCATION+: Some Street 5
:LOCATION+: 12345 Small Town
:END:
<2024-01-08 Mon 14:20-15:00>

> A few questions:
> - Why isn't the LOCATION parsed?
> - Why isn't the multiline DESCRIPTION fully parsed?
> - Why does the date of the event ends up also in the DESCRIPTION?

When properties drawer is placed in an invalid location, it is treated
as simple plain drawer that does not contain properties. So, nothing is
parsed.

M-x org-lint will warn about such cases.

> - Where does the "CATEGORIES:test" come from?

The default category is taken from file name.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to