From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [FeatReq] New option for `org-entry-properties' WHICH argument? Date: Thu, 26 Jun 2014 23:21:50 +0200 Message-ID: <87ha37jrip.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0H7V-0000LG-7F for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 17:22:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0H7N-000485-OG for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 17:22:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:45654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0H7N-000481-HU for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 17:22:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X0H7L-0000BT-Jj for emacs-orgmode@gnu.org; Thu, 26 Jun 2014 23:22:03 +0200 Received: from e178054041.adsl.alicedsl.de ([85.178.54.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2014 23:22:03 +0200 Received: from tjolitz by e178054041.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2014 23:22:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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