emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org-mime: make plain/text mime export a choice


From: Jon Miller
Subject: Re: [O] [PATCH] org-mime: make plain/text mime export a choice
Date: Tue, 01 Sep 2015 14:01:43 -0700

Jon Miller writes:

> Nicolas Goaziou writes:
>
>> Hello,
>>
>> Jon Miller <address@hidden> writes:
>>
>>> Update to how org-mime constructs emails for the plain/text section of the
>>> mime email. I've found that using the 'ascii exporter produces a saner
>>> plain/text section than using the 'org exporter. Added a new custom variable
>>> to control which exporter is used. and changed the default behavior to use
>>> 'ascii. Below is my git formatted patch.
>>
>> Thank you for the patch.
>>
>> Is there any reason to keep using "org" exporter if "ascii" is superior?
>> I.e., what about simply replacing 'org with 'ascii?
>
> That's a good question. I personally don't think I'd ever need to keep the
> plain/text section as org syntax but I wasn't sure about others, so I just
> introduced the variable. I suppose the simple replacement would be a simpler
> patch. 

(My org ML subscription is daily digest but have read other replies regarding
the latin1 or utf-8 additional options)

After trying to include those options, I realized that the export options of
latin1 or utf-8 are actually using the same ascii exporter, correct? That is,
I can not use either value as-in in the call to (org-export-string-as ...)
To support the other options, it appears that we'd have to change the
function being used and I'm not sure which direction to take from there. I'd
be willing to hack on it further if I could get a hint as to what to use.

-- 
Jon Miller



reply via email to

[Prev in Thread] Current Thread [Next in Thread]