emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* documentation bug
@ 2012-09-13 14:50 Tyler Smith
  2012-09-13 15:25 ` Giovanni Ridolfi
  2012-09-18  9:10 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Tyler Smith @ 2012-09-13 14:50 UTC (permalink / raw)
  To: Emacs-orgmode

Hi,

I'm using org-mode 7.8.03, which shipped with Emacs 24.0.94.1. The
documentation for exporting html includes the following:

12.5.1 HTML export commands
---------------------------

`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, but point is at the beginning of a third subtree, then
instead of exporting the two subtrees in the active region, you get
only the third subtree which is outside the region. The same problem
appears to hold for C-c C-e R. You actually need to call C-c C-e 1 h
to get the expected behaviour.

I'm not sure if this is a problem with the docs or the code itself,
but they don't seem to match up on this point.

Thanks,

Tyler

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

end of thread, other threads:[~2012-09-18 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-13 14:50 documentation bug Tyler Smith
2012-09-13 15:25 ` Giovanni Ridolfi
2012-09-18  9:10 ` Bastien

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