9e15cf4fc2
* lisp/org-exp.el (org-export-remove-comment-blocks-and-subtrees): Fix regexp. Rasmus <rasmus.pank@gmail.com> wrote: > Hi, > It seems that > > ,---- > | #+BEGIN_COMMENT > | ... > | #+END_COMMENT > `---- > > Might be broken in Org-mode 7.5. According to the manual, > > ,---- > | Finally, regions surrounded by > | #+BEGIN_COMMENT ... #+END_COMMENT will not be exported. > `---- > > Consider the following example generated with Org-mode 7.5 in Emacs 24.0.50 > (started without config files). > > ,---- > | #+TITLE: this is a test > | > | #+BEGIN_COMMENT > | Don't export me > | #+END_COMMENT > | > | I'd like to be exposed > `---- > > The HTML export is: > > ,---- > | <snip> > | <h1 class="title">this is a test</h1> > | > | <div class="org-comment"> > | </br> > | <p> > | <p> > | Don't export me > | </p> > | </div> > | > | I'd like to be exposed > | <snip> > `---- > > The LaTeX export is: > > ,---- > | \begin{verbatim} > | Don't export me > | \end{verbatim} > | I'd like to be exposed > `---- > Indeed. It seems that one of the hair-raising regexps that Carsten manages to come up with is not quite right. Try this patch for now: --8<---------------cut here---------------start------------->8--- --8<---------------cut here---------------end--------------->8--- Nick |
||
---|---|---|
BUGFIXING | ||
EXPERIMENTAL | ||
UTILITIES | ||
contrib | ||
doc | ||
lisp | ||
testing | ||
.dir-locals.el | ||
.dir-settings.el | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
README | ||
README_DIST | ||
README_GIT | ||
README_maintainer | ||
request-assign-future.txt |
README
This is the Emacs Org project, an emacs subsystem for organizing your life The homepage of Org is at http://orgmode.org This distribution contains: README This file. README_DIST The README file for the distribution (zip and tar files) README_GIT Information about the git repository and how to contribute to Org-mode development. lisp/ Directory with all the Emacs Lisp files that make up Org. doc/ The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. contrib/ A directory with third-party additions for Org. Some really cool stuff is in there. ChangeLog The standard ChangeLog file. Makefile The makefile to compile and install Org, and also for maintenance tasks. request-assign-future.txt The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the CONTRIB directory have copyright assigned to the FSF. EXPERIMENTAL Experimental code, not necessarily FSF copyright.