[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [FeatReq] New option for `org-entry-properties' WHICH argument?
From: |
Thorsten Jolitz |
Subject: |
[O] [FeatReq] New option for `org-entry-properties' WHICH argument? |
Date: |
Thu, 26 Jun 2014 23:21:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi List,
what about adding one more option for WHICH
,----[ C-h f org-entry-properties RET ]
| org-entry-properties is a compiled Lisp function in `org.el'.
|
| (org-entry-properties &optional POM WHICH SPECIFIC)
| [...]
| If WHICH is nil or `all', get all properties. If WHICH is
| `special' or `standard', only get that subclass. If WHICH
| is a string only get exactly this property. SPECIFIC can be a string, the
| specific property we are interested in. Specifying it can speed
| things up because then unnecessary parsing is avoided.
`----
that would filter out all Org related properties, i.e. the properties
the system itself uses, and thus return only the application related
properties?
E.g. option 'non-org'
with semantics/implementation similar to this (there are surely cl-xxx
filter-functions that can do this as one-liner):
#+begin_src emacs-lisp
(delq nil
(mapcar
(lambda (--cons)
(unless (or (member (car --cons)
org-default-properties)
(member (car --cons)
org-special-properties))
--cons))
(org-entry-properties)))
#+end_src
What do you think?
--
cheers,
Thorsten
- [O] [FeatReq] New option for `org-entry-properties' WHICH argument?,
Thorsten Jolitz <=