From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Exporter] Feature Request -extend customization options for property-drawer export Date: Mon, 18 Nov 2013 12:26:46 +0100 Message-ID: <87txfane6h.fsf@gmail.com> References: <87iovqt1hf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViMyU-0001Aj-BS for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 06:26:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViMyL-0004VG-Lw for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 06:26:38 -0500 Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]:63056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViMyL-0004V2-Eu for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 06:26:29 -0500 Received: by mail-ea0-f176.google.com with SMTP id h14so97904eaj.35 for ; Mon, 18 Nov 2013 03:26:28 -0800 (PST) In-Reply-To: <87iovqt1hf.fsf@gmail.com> (Thorsten Jolitz's message of "Mon, 18 Nov 2013 12:04:28 +0100") 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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hello, Thorsten Jolitz writes: > I wonder if customization options for the export of properties drawers > could be extended to something like this > > #+begin_src emacs-lisp > [...] > :group 'org-export-general > :version "24.4" > :package-version '(Org . "8.0") > :type '(choice > (const :tag "All properties" t) > (const :tag "None" nil) > (repeat :tag "Selected properties" > (string :tag "Property name")) > (list :tag "Ignored properties" > (const :format "" not) > > (repeat :tag "Specify names of properties to ignore > during export" > :inline t > (string :tag "Property name"))) > (regexp :tag "Matched properties")) > #+end_src > > with the two additional choices > > - specify a list of ignored properties > - give a regexp and select only matched properties > > I find it easier to specify the properties I do *not* want to export, > because these are often the well-known properties set/used by Org-mode > itself, while the properties I want pto export might be all the others > including those specified by users. > > Furthermore, I would like to prefix properties, e.g. > > * Header > :PROPERTIES: > :foo_prop1: bar1 > :foo_prop2: bar2 > :END: > > and then be able to export all properties with a given prefix (matched > by a regexp like "foo_.+"). You can use a filter to do it, without needing to extend the variable. Regards, -- Nicolas Goaziou