[Orgmode] org-mime: [PATCH] Toggle between plaintext and html

2010-04-15 Thread Benjamin Andresen
Hello, I hope I'm not polluting this mailing list wrongly (due to org-mime being contrib and not mainline). I wrote a small patch that gives the function org-mime-toggle-html (+ support) for that I had to unfortunately rewrite `org-mime-multipart' Maybe Eric can look at it and if useful include

Re: [Orgmode] org-mime: [PATCH] Toggle between plaintext and html

2010-04-15 Thread Eric Schulte
Hi Benny, Thanks for the patch. I've refactored it so that it's smaller and only changes the htmlized portion if `org-mime-htmlize' was called on a partial region. What do you think about the attached alternative? I guess given this patch `org-mime-toggle' should be bound to C-c M-o rather