emacs-orgmode
[Top][All Lists]
Advanced

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

Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /u


From: Olaf Dietsche
Subject: Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]
Date: Mon, 18 Apr 2022 11:54:12 +0200

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



reply via email to

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