From: "Eric Schulte" <schulte.eric@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: a couple of questions about org-mime
Date: Sun, 25 Apr 2010 16:21:41 -0600 [thread overview]
Message-ID: <87y6gb6umi.fsf@gmail.com> (raw)
In-Reply-To: <87och718zo.fsf@columbia.edu> (Xiao-Yong Jin's message of "Sun, 25 Apr 2010 18:07:55 -0400")
Hi,
Xiao-Yong Jin <xj2106@columbia.edu> 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
prev parent reply other threads:[~2010-04-25 22:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-24 20:58 a couple of questions about org-mime Xiao-Yong Jin
2010-04-24 22:43 ` Eric Schulte
2010-04-25 22:07 ` Xiao-Yong Jin
2010-04-25 22:21 ` Eric Schulte [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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6gb6umi.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).