From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: problem with mime conversion for emails
Date: Mon, 30 Aug 2010 14:05:05 +0100 [thread overview]
Message-ID: <87sk1w8d4u.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <87zkw5jg5h.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
On Sun, 29 Aug 2010 14:52:10 -0600, "Eric Schulte" <schulte.eric@gmail.com> 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>")
> " ")))
> --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
[-- Attachment #2: Type: text/plain, Size: 75 bytes --]
--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D
[-- Attachment #3: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-08-30 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-29 20:03 problem with mime conversion for emails Eric S Fraga
2010-08-29 20:52 ` Eric Schulte
2010-08-30 13:05 ` Eric S Fraga [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=87sk1w8d4u.wl%ucecesf@ucl.ac.uk \
--to=ucecesf@ucl.ac.uk \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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.