emacs-orgmode
[Top][All Lists]
Advanced

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

Differentiating org element properties from built-ins?


From: tomas
Subject: Differentiating org element properties from built-ins?
Date: Tue, 17 Sep 2024 16:22:20 +0200

Hi, Orgxperts

assume I have something like this:

** Some heading
   :properties:
   :foo: some value for foo
   :bar: some value for bar
   :end:

Now, when I do

  (org-element-properties-mapc
    (lambda (k v) (message "%s -> %s" k v))
    (org-element-at-point))

I do see foo and bar (well, OK, :FOO and :BAR) with their values, but lots
of other (let's call them "built-ins") like :begin and :post-affiliated.

How do I keep those apart? Or do I have to resort to running regexps through
the buffer?

Cheers & thanks
-- 
tomás

Attachment: signature.asc
Description: PGP signature


reply via email to

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