From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [bug] ox-org.el subtree export appears broken Date: Sun, 10 Nov 2013 19:12:55 -0700 Message-ID: <87siv3it3s.fsf@gmail.com> References: <87ppqd1kee.fsf@gmail.com> <8761s5bcr3.fsf@gmail.com> <87bo1x9qfh.fsf@gmail.com> <871u2tb34y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfh0e-00006y-TF for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 21:13:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vfh0W-0001Ju-J2 for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 21:13:48 -0500 Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:44648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfh0W-0001JS-B3 for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 21:13:40 -0500 Received: by mail-pd0-f180.google.com with SMTP id v10so437489pde.11 for ; Sun, 10 Nov 2013 18:13:38 -0800 (PST) In-Reply-To: <871u2tb34y.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 06 Nov 2013 23:02:05 +0100") 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: Org Mode Mailing List Nicolas Goaziou writes: > Eric Schulte writes: > >> My initial thoughts are that inserting keywords *with* values while not >> inserting empty keywords would be the most intuitive. > > TITLE always have a value. When not specified, it defaults to buffer's > name. > > Also, what keywords? Document keywords (DATE, AUTHOR, TITLE)? Or other > export related keyword (CREATOR, DESCRIPTION, KEYWORDS, EMAIL)? Anything > else (OPTIONS, LANGUAGE...)? > Hmmm, I don't have a strong intuition here. I'm tempted to say that whatever the HTML export engine does would be a good starting place, plus any keyword explicitly set in subtree properties. I feel like this decision must have already been made in some other Org-mode function, so copying those decisions would be the best bet. > > Also, should these belong to the inner or outer template, i.e. should > they be excluded unconditionally on a "body-only" export, or not? > Outer template, excluded from body only. > > This is not very difficult to implement, but I'd rather have precise > specifications first. And since you are the one making the request... > Understood, and I do appreciate the implementation (and apologize for my delay in reply). I hope the above sound like a good starting place to you. For what it's worth, this need arose while lazily implementing current-subtree-only Emacs driven presentations with epresent [1]. Thanks, > > > Regards, Footnotes: [1] https://github.com/eschulte/epresent/commit/c94f03027033b39082a4897625974f893a17434a -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D