all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]
@ 2022-04-18  9:54 Olaf Dietsche
  2022-04-18 10:05 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Olaf Dietsche @ 2022-04-18  9:54 UTC (permalink / raw)
  To: emacs-orgmode

I have this example org file and started with "emacs -Q":

---8<---
* Headline
  :CLOCK:
  CLOCK: [2022-04-18 Mo 11:17]--[2022-04-18 Mo 11:17] =>  0:00
  :END:
  :PROPERTIES:
  :CREATED:  [2022-04-18 Mo 11:17]
  :END:

  - Some text
--->8---

When I try to set a property "C-c C-x p" or "M-x org-set-property", this
message is displayed:

>Malformed drawer at 93, repair? (y or n) y

Answering yes, inserts an empty drawer at the beginning of the entry,
and then continues to query the property name and value.

Moving the :PROPERTIES: drawer to the beginning fixes this issue and a
new property is inserted without any complaints.

---8<---
* Headline
  :PROPERTIES:
  :CREATED:  [2022-04-18 Mo 11:17]
  :END:
  :CLOCK:
  CLOCK: [2022-04-18 Mo 11:17]--[2022-04-18 Mo 11:17] =>  0:00
  :END:

  - Some text
--->8---

I would expect, that the order of drawers doesn't matter.

Kind regards, Olaf

------------------------------------------------------------------------

Emacs  : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
 of 2020-03-26, modified by Debian
Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)
OS: Ubuntu 20.04


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

end of thread, other threads:[~2022-04-19 12:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18  9:54 Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)] Olaf Dietsche
2022-04-18 10:05 ` Ihor Radchenko
2022-04-18 17:33   ` Olaf Dietsche
2022-04-18 20:26     ` Nick Dokos
2022-04-19  2:22     ` Ihor Radchenko
2022-04-19 12:32       ` Olaf Dietsche

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.