emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [bug] ox-org.el subtree export appears broken
Date: Sun, 10 Nov 2013 19:12:55 -0700	[thread overview]
Message-ID: <87siv3it3s.fsf@gmail.com> (raw)
In-Reply-To: <871u2tb34y.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 06 Nov 2013 23:02:05 +0100")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Eric Schulte <schulte.eric@gmail.com> 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

  reply	other threads:[~2013-11-11  2:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 17:59 [bug] ox-org.el subtree export appears broken Eric Schulte
2013-11-06 18:34 ` Nicolas Goaziou
2013-11-06 21:21   ` Eric Schulte
2013-11-06 22:02     ` Nicolas Goaziou
2013-11-11  2:12       ` Eric Schulte [this message]
2013-11-15 23:25         ` 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=87siv3it3s.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).