[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] [contrib/org-koma-letter.el] #+DATE and #+TO_ADDRESS picke
Re: [O] [BUG] [contrib/org-koma-letter.el] #+DATE and #+TO_ADDRESS picked up from outside the current subtree
Sat, 29 Dec 2012 16:12:21 +0100
mu4e 0.9.9.5-dev6; emacs 24.2.1
Viktor Rosenfeld writes:
> I've configured the scrlttr2 exporter found in
> contrib/lisp/org-koma-letter.el to write letters directly in org-mode.
> I'm very happy with the results, but I've noticed the following bug: If
> there are multiple letters defined in an org-file, the contents of every
> #+DATE and #+TO_ADDRESS field will be picked up, even if the export is
> restricted to the current subtree.
> In the attached file, if you export the first letter with 3 k k from the
> export dispatch menu, the address will read
> Max Mustermann
> Musterstraße 1
> 12345 Musterstadt Moritz Mustermann
> Musterallee 10
> 54321 Musterstadt
> and the date will be set to December 28 from the second letter.
If you want subtree exporting, the information should be in a
:PROPERTIES: drawer at the beginning of the thing to export. Here is
what I did for a recent letter:
****** Lettre d'Accueil pour ...
text text ...
Note that in such drawers, the name of the option has "EXPORT_" before it.
Hope this helps,