emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: org-set-property should not accept an empty string as property
@ 2016-01-06  8:20 Julien Cubizolles
  2016-01-06 13:46 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Cubizolles @ 2016-01-06  8:20 UTC (permalink / raw)
  To: emacs-orgmode

According to
http://orgmode.org/worg/dev/org-syntax.html#Node_Properties, the NAME of
a property cannot be an empty string. However, the interactive version
of org-set-property accepts such a string, resulting in a malformed
drawer. When giving an empty string at the prompt for the property NAME,
org-set-property should instead gracefully exit without creating a new
property in the drawer.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: org-set-property should not accept an empty string as property
  2016-01-06  8:20 BUG: org-set-property should not accept an empty string as property Julien Cubizolles
@ 2016-01-06 13:46 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-01-06 13:46 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Julien Cubizolles <j.cubizolles@free.fr> writes:

> According to
> http://orgmode.org/worg/dev/org-syntax.html#Node_Properties, the NAME of
> a property cannot be an empty string. However, the interactive version
> of org-set-property accepts such a string, resulting in a malformed
> drawer. When giving an empty string at the prompt for the property NAME,
> org-set-property should instead gracefully exit without creating a new
> property in the drawer.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-06 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-06  8:20 BUG: org-set-property should not accept an empty string as property Julien Cubizolles
2016-01-06 13:46 ` Nicolas Goaziou

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).