emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <djsinder@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Sub-tree EXPORT_ properties are not over-riding file-level options
Date: Wed, 12 Nov 2014 19:58:53 -0800	[thread overview]
Message-ID: <CAHND-wxQ474NtqAEXnd4-sK+L9P8XEZBLAghN1=L3a56+19wZQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1762 bytes --]

My exports are not picking up sub-tree EXPORT_ properties.

Emacs:  GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
Org:  Org-mode version 8.2.10 (release_8.2.10-16-g4c37a9


Here's my test file (export-test.org):
#+AUTHOR: Daniel Sinder
#+OPTIONS: toc:nil

* First Heading
  - Item 1.a
  - Item 1.b

* Second Heading
  :PROPERTIES:
  :EXPORT_AUTHOR: E. Maxor Gamode
  :END:
  - Item 2.a
  - Item 2.b

When I export the whole file to ASCII, the author is set, as expected, from
the AUTHOR option (blank lines removed for brevity):
    _______________
      EXPORT-TEST
     Daniel Sinder
    _______________

1 First Heading
===============
  - Item 1.a
  - Item 1.b

2 Second Heading
================
  - Item 2.a
  - Item 2.b

When I select just the Second Heading, I then get the following (note,
EXPORT_AUTHOR property is not picked up):
    _______________
      EXPORT-TEST
     Daniel Sinder
    _______________

1 Second Heading
================
  - Item 2.a
  - Item 2.b


If I disable the loading of my locally installed, bleeding edge org-mode
from my init.el, it brings me back to Org-mode version 7.9.3f
(release_7.9.3f-17-g7524ef), which is the old export engine (I think).
However the sub-tree export at least does what I'd expect in terms of
setting the title (from the heading) and author (from the property):

                            Second Heading
                            ==============

Author: E. Maxor Gamode
Date: 2014-11-12 19:53:00 Pacific Standard Time


  - Item 2.a
  - Item 2.b


I've verified the same problem for other EXPORT_ properties and other
export formats (e.g., html).  Is this a bug in the new export engine, or am
I doing something wrong?  Any suggestions/help would be appreciated.

Thanks,
Dan

[-- Attachment #2: Type: text/html, Size: 3133 bytes --]

             reply	other threads:[~2014-11-13  3:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13  3:58 Daniel J. Sinder [this message]
2014-11-13 18:14 ` Sub-tree EXPORT_ properties are not over-riding file-level options Nicolas Goaziou
2014-11-13 20:29   ` Daniel J. Sinder
2014-11-13 21:28     ` Subhan Michael Tindall

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='CAHND-wxQ474NtqAEXnd4-sK+L9P8XEZBLAghN1=L3a56+19wZQ@mail.gmail.com' \
    --to=djsinder@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).