Matt Price wrote: >At Mon, 22 Mar 2010 21:21:43 +0100, >Hi David, >Thanks for this. >David Maus wrote: >> Using the code attached does the trick of converting the message body >> into html before sending. It requires Org mode to be installed >> because the conversion is done by Org mode's html export function. >> >[...] >> (insert "\n#+END_VERSE\n") >> ;; grab html >> (setq html (org-export-region-as-html >> (point-min) (point-max) t 'string)))) >there's just a parenthesis error here (lines 30, 33), which you'll >only notice if you don't have a sig file attached; so this correction works for me: > (insert "\n#+END_VERSE\n")) > ;; grab html > (setq html (org-export-region-as-html > (point-min) (point-max) t 'string))) Thanks. Was so fixed on preserving the signature that I forgot to test case w/o signature. -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de
Attachment:
pgpC_9Bq3AX8I.pgp
Description: PGP signature