emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jon Miller <jonebird@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-mime: make plain/text mime export a choice
Date: Tue, 01 Sep 2015 14:01:43 -0700	[thread overview]
Message-ID: <vl8fzj15vop4.fsf@crad-millertime.qualcomm.com> (raw)
In-Reply-To: <vl8f8u8qw39r.fsf@crad-millertime.qualcomm.com>


Jon Miller writes:

> Nicolas Goaziou writes:
>
>> Hello,
>>
>> Jon Miller <jonebird@gmail.com> 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	other threads:[~2015-09-01 21:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.109.1441036833.32276.emacs-orgmode@gnu.org>
2015-09-01  0:55 ` [PATCH] org-mime: make plain/text mime export a choice Jon Miller
2015-09-01  7:19   ` Nicolas Goaziou
2015-09-01  8:07     ` Eric Abrahamsen
2015-09-01 15:26       ` Nicolas Goaziou
2015-09-01 16:30         ` Eric Abrahamsen
2015-09-01 18:36           ` Nicolas Goaziou
2015-09-02  2:28             ` Eric Abrahamsen
2015-09-01 15:46     ` Jon Miller
2015-09-01 21:01       ` Jon Miller [this message]
2015-09-02 18:57     ` Will O'Brien
2015-09-04  0:30       ` Jon Miller
2015-09-04 18:57         ` Nicolas Goaziou
2015-09-04 19:17           ` Jon Miller
2015-09-05  8:49             ` Nicolas Goaziou

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=vl8fzj15vop4.fsf@crad-millertime.qualcomm.com \
    --to=jonebird@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).