[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] problem with mime conversion for emails

From: Eric S Fraga
Subject: Re: [Orgmode] problem with mime conversion for emails
Date: Mon, 30 Aug 2010 14:05:05 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Sun, 29 Aug 2010 14:52:10 -0600, "Eric Schulte" <address@hidden> wrote:
> Hi Eric,
> An easy fix may be using the `org-mime-html-hook' to post-process the
> html, the following (untested) should be sufficient.
> --8<---------------cut here---------------start------------->8---
> (add-hook 'org-mime-html-hook
>           (lambda ()
>             (replace-regexp
>              (regexp-quote "<span style=\"visibility:hidden;\">X</span>")
>              "&nbsp;")))
> --8<---------------cut here---------------end--------------->8---
> To me, this seems easier than having an email-specific export target.

Yes, this is probably the best approach (and thanks for the actual
elisp code which is nice and succinct!).

I do still wonder at the need for the extra level of complexity
introduced by the visibility attribute, especially given that the
checkboxes only line up if none of them is of the type [-]...

Anyway, I've put this code in my config!  Thanks again.
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

reply via email to

[Prev in Thread] Current Thread [Next in Thread]