emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Exporter] Feature Request -extend customization options for property-drawer export
Date: Mon, 18 Nov 2013 12:26:46 +0100	[thread overview]
Message-ID: <87txfane6h.fsf@gmail.com> (raw)
In-Reply-To: <87iovqt1hf.fsf@gmail.com> (Thorsten Jolitz's message of "Mon, 18 Nov 2013 12:04:28 +0100")

Hello,

Thorsten Jolitz <tjolitz@gmail.com> 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

  reply	other threads:[~2013-11-18 11:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 11:04 [Exporter] Feature Request -extend customization options for property-drawer export Thorsten Jolitz
2013-11-18 11:26 ` Nicolas Goaziou [this message]
2013-11-18 11:42   ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txfane6h.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).