emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Sub-tree EXPORT_ properties are not over-riding file-level options
@ 2014-11-13  3:58 Daniel J. Sinder
  2014-11-13 18:14 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel J. Sinder @ 2014-11-13  3:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-13 21:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13  3:58 Sub-tree EXPORT_ properties are not over-riding file-level options Daniel J. Sinder
2014-11-13 18:14 ` Nicolas Goaziou
2014-11-13 20:29   ` Daniel J. Sinder
2014-11-13 21:28     ` Subhan Michael Tindall

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).