[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] a couple of questions about org-mime
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] a couple of questions about org-mime |
Date: |
Sun, 25 Apr 2010 16:21:41 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi,
Xiao-Yong Jin <address@hidden> writes:
> On Sat, 24 Apr 2010 16:43:53 -0600, Eric Schulte wrote:
[...]
>> Use the following to change this behavior
>
>> (setq org-mime-preserve-breaks nil)
>
>> Perhaps this should be the default setting. I currently have this
>> set to true because quoted mail (i.e. lines starting with ">") can
>> look very bad with line wrapping.
>
> I see the problem. Is it possible to detect quoted mail and
> enclose it between '#+begin_src' and '#+end_src'?
>
My personal solution has been to only call org-mime-htmlize on active
regions, ensuring that the htmlized text is of my own making and leaving
the quoted mail as plain/text.
I'm not sure of an existing mailer-independent method of recognizing
quoted mail (especially given the variety of different ways of quoting
mail "> " "| " etc...). It is probably possible to use mailer
(e.g. gnus, WL, etc...) specific functions to notice quoted mail,
however that could complicate the org-mime.el code substantially.
My gut feeling is that this feature may be more work to implement and
maintain than it's worth, but I could be wrong.
Thanks -- Eric
>
>
> Xiao-Yong