emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Org mode version 9.7-pre (9.7-pre-n/a-g093879


From: Ihor Radchenko
Subject: Re: Org mode version 9.7-pre (9.7-pre-n/a-g093879
Date: Wed, 07 Feb 2024 17:09:02 +0000

Jason May <jmay@pobox.com> writes:

> Extraneous content (e.g. blank lines) in the PROPERTIES drawer
> cause =org-entry-get= to return nil without indication of any problem.
>
> Desired behavior: =org-entry-get= should be forgiving.
> It should ignore blank PROPERTIES lines, or any line with invalid
> syntax.
> A message to the *Warnings* buffer might be appropriate.

Blank lines in properties might be an ok change.
I am not so sure about invalid syntax.

Consider

:PROPERTIES:
:PROP1: val1
:PROP2: this line was
accidentally modified
:END:

Property drawer not being recognized is more likely to be noticed
compared to `org-entry-get' returning incomplete "this line was".

In any case, M-x org-lint will report problems with property drawers.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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

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