emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode mode <emacs-orgmode@gnu.org>
Subject: Re: File-local export filters
Date: Sat, 21 Sep 2013 13:45:29 +0200	[thread overview]
Message-ID: <877gea2yau.fsf@gmail.com> (raw)
In-Reply-To: <4D2D5EF0-F2CD-4B54-8562-488E43824596@gmail.com> (Carsten Dominik's message of "Sat, 21 Sep 2013 13:19:17 +0200")

Hello,

Carsten Dominik <carsten.dominik@gmail.com> writes:

> I guess this is mostly a request for Nicolas, but maybe others would
> like to chime in.
>
> Quite often I am in a situation where I want to use filters
> to customize the export for a specific file.  I was wondering
> if it would be useful to support a special source code block
> that can contain code that should be executed before export in
> a way that a temporary list of export filters is installed
> for this specific backend and then removed again.
>
> For example, I would like to have special formatting of
> time stamps in a specific file - I could then use this
> to install a filter in org-export-filter-timestamp-functions
> that would do this special formatting, without influencing
> what happens to other exports.
>
> Have I overlooked an easy way to do this, or would this be
> something others would like to use as well.

I didn't check, but I think it is possible to set filter through #+BIND
keyword? Otherwise, you can try file local variables.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-09-21 11:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-21 11:19 File-local export filters Carsten Dominik
2013-09-21 11:45 ` Nicolas Goaziou [this message]
2013-09-21 12:14   ` Carsten Dominik
2013-09-21 12:44     ` Nicolas Goaziou
2013-09-21 12:54       ` Carsten Dominik
2013-09-21 22:16       ` Summary: " Carsten Dominik
2013-09-23  9:19 ` Rasmus

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=877gea2yau.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).