From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jason Riedy <jason@acm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: File local variables and export?
Date: Wed, 6 May 2009 09:25:21 +0200 [thread overview]
Message-ID: <C9C61FBA-5C3E-4543-9E90-2888ACBB7643@gmail.com> (raw)
In-Reply-To: <87k54vbmyx.fsf@sparse.dyndns.org>
On May 5, 2009, at 5:15 PM, Jason Riedy wrote:
> And Carsten Dominik writes:
>>> I can smuggle the value in by adding an entry to
>>> org-export-plist-vars referring to
>>> org-export-latex-image-default-option and pulling the value from
>>> the plist, but that feels incorrect.
>>
>> To me it sounds correct, actually. I have added this, and will
>> add other variables as needed.
>
> I was thinking about using file locals to pass arguments along to
> custom functions... Carrying a central registry feels funny. Why
> do you prefer org-export-plist-vars?
Because the buffer being exported is not current when
doing the conversion. I know that this is less than ideal,
but it is historically how the exporter developed.
Another possibility would be a way to put arbitrary values into
the property list that is used during export. The #+OPTIONS line
does this, and we could have something like
#+EXPORT_PROPS: :value "key" .......
which would add properties to the options property list,
and any function could access their values.
- Carsten
prev parent reply other threads:[~2009-05-06 7:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 19:13 File local variables and export? Jason Riedy
2009-05-05 8:40 ` Carsten Dominik
2009-05-05 15:15 ` Jason Riedy
2009-05-06 7:25 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C9C61FBA-5C3E-4543-9E90-2888ACBB7643@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jason@acm.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.