Da: Tyler Smith <tyler.sm...@mail.mcgill.ca>

Inviato: Giovedì 13 Settembre 2012 16:50

> I'm using org-mode 7.8.03, which shipped with Emacs 24.0.94.1. 

> `C-c C-e h     (`org-export-as-html')'
>     Export as HTML file.  [...] If there is an active region(1), only
>   the region will be      exported.
> However, I think this is incorrect. 
> If there is an active region, org-export will turn on subtree-p. This results 
> in unexpected
> behaviour. For example, if an active region is marked that contains
> two subtrees, 

This is a corner case. With your org version you are expected to export a well 
organized document:
- A headline and its subtrees
- or a subtree, 

not two subtrees.

But, here, Org-mode version 7.9.1 (2eb1456bfd
the new exporter handles this case well and exports the two subtrees.

Please upgrade Org and use the new exporter as suggested in the release notes:

http://orgmode.org/Changes.html

cheers,

Giovanni

Reply via email to