From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: problem with mime conversion for emails Date: Mon, 30 Aug 2010 14:05:05 +0100 Message-ID: <87sk1w8d4u.wl%ucecesf@ucl.ac.uk> References: <87hbiddw4m.wl%ucecesf@ucl.ac.uk> <87zkw5jg5h.fsf@gmail.com> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Aug_30_14:05:05_2010-1" Return-path: Received: from [140.186.70.92] (port=35763 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq433-0001h2-UH for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 09:05:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq42w-0008TA-EF for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 09:05:16 -0400 Received: from vscane-a.ucl.ac.uk ([144.82.108.41]:45385) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq42w-0008So-AG for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 09:05:10 -0400 In-Reply-To: <87zkw5jg5h.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: org-mode mailing list --Multipart_Mon_Aug_30_14:05:05_2010-1 Content-Type: text/plain; charset=US-ASCII On Sun, 29 Aug 2010 14:52:10 -0600, "Eric Schulte" 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 "X") > " "))) > --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 --Multipart_Mon_Aug_30_14:05:05_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Mon_Aug_30_14:05:05_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --Multipart_Mon_Aug_30_14:05:05_2010-1--