From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Miller Subject: Re: [PATCH] org-mime: make plain/text mime export a choice Date: Fri, 04 Sep 2015 12:17:46 -0700 Message-ID: References: <87a8t64neo.fsf@nicolasgoaziou.fr> <87fv2uko6p.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwUk-0007eS-L4 for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:17:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwUf-0001ZW-MT for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:17:54 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:34675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwUf-0001ZE-FC for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:17:49 -0400 Received: by padhy16 with SMTP id hy16so30258235pad.1 for ; Fri, 04 Sep 2015 12:17:48 -0700 (PDT) In-reply-to: <87fv2uko6p.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Will O'Brien , emacs-orgmode@gnu.org Nicolas Goaziou writes: > Jon Miller writes: > >> At this point, I'm not sure if there is any further hacking left to be done >> to the original patch I sent? Are we okay with just leaving the two options >> of 'ascii and 'org? > > I don't think we're at a conclusion yet. In addition to providing ascii > and org, we might also > > - provide org, ascii, latin-1 and utf8 > - provide any symbol that will be understood as an export back-end > > WDYT? I'm willing to help hack out a solution. I just need a hint to help me along. - I specifically do not know how to produce a latin1 or utf8 export via the existing `org-export-string-as' function call that is being used. - As for updating the parameter to support any valid back-end, I assume that means updating the defcustom from a choice list to a symbol that is then later checked as a valid back-end and defaults to a simple choice when it is non-valid? -- Jon Miller