On Thu, 14 Feb 2019 at 16:11, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:

> Would you want to provide a patch including the replacement of
> `org-special-keyword' with `org-drawer'?

Will do.  This in particular requires to swap fontifying the drawers
and the keywords (since :END: and :PROPERTIES: are keywords):

--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6255,12 +6255,12 @@ needs to be inserted at a specific position in
the font-lock sequence.")
     '("^[ \t]*| *\\([#*]\\) *|" (1 'org-formula t))
     '("^[ \t]*|\\( *\\([$!_^/]\\) *|.*\\)|" (1 'org-formula t))
     '("| *\\(<[lrc]?[0-9]*>\\)" (1 'org-formula t))
-    ;; Drawers
-    '(org-fontify-drawers)
     ;; Properties
     (list org-property-re
  '(1 'org-special-keyword t)
  '(3 'org-property-value t))
+    ;; Drawers
+    '(org-fontify-drawers)
     ;; Link related fontification.
     '(org-activate-links)
     (when (memq 'tag lk) '(org-activate-tags (1 'org-tag prepend)))

Agreed?

Cheers;
M.

Reply via email to