From: Ken Mankoff <mankoff@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Export (sometimes) skips sections without preceding blank line
Date: Sat, 25 Nov 2017 18:44:22 +0100 [thread overview]
Message-ID: <m2mv3anthl.fsf@gmail.com> (raw)
In-Reply-To: <87zi7atqui.fsf@nicolasgoaziou.fr>
Hi Nicolas,
I'm not sure we ran the same test. The version I thought I posted and that I see in GMail, my mu4e sent-mail, and the mailing list archives on gmane does not have an empty line between "#+END_SRC" and "#+RESULTS:". The version you replied to appears to have a blank line I did not post.
On 2017-11-25 at 13:44, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>> * Skipping Exports
>> ** One :noexport:
>>
>> #+BEGIN_SRC sh :results verbatim :eval no-export
>> echo "hello, world"
>> #+END_SRC
>>
>> #+RESULTS:
>> : hello, world
>> ** Two
>> Good bye cruel world
>>
If I run your version it does work. I need a blank line either before "#+RESULTS:" or before "** Two". Or as previously stated no RESULTS section and no blank line also works.
I'm testing this with the following MWE:
1) Launching Emacs -Q with this:
open -n -a EmacsMac.app --args --debug-init -Q --eval="(add-to-list 'load-path \"~/.emacs.d/elpa/org-20171120\")"
2) Visiting test.org which contains this:
#+BEGIN_SRC emacs-lisp :results value
(org-version nil t)
#+END_SRC
#+RESULTS:
: Org mode version 9.1.3 (9.1.3-2-g322612-elpa @ /Users/kdm/.emacs.d/elpa/org-20171120/)
* Skipping Exports
** One :noexport:
#+BEGIN_SRC sh :results verbatim :eval no-export
echo "hello, world"
#+END_SRC
#+RESULTS:
: hello, world
** Two
Good bye cruel world
3) Exporting via C-e l L to a LaTeX buffer which contains the header plus this:
\begin{document}
\tableofcontents
\begin{verbatim}
(org-version nil t)
\end{verbatim}
\section{Skipping Exports}
\label{sec:orge984613}
\end{document}
next prev parent reply other threads:[~2017-11-25 17:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-25 12:18 Export (sometimes) skips sections without preceding blank line Ken Mankoff
2017-11-25 13:44 ` Nicolas Goaziou
2017-11-25 17:44 ` Ken Mankoff [this message]
2017-11-25 18:03 ` Eric S Fraga
2017-11-25 20:14 ` Nicolas Goaziou
2017-11-25 13:51 ` Eric S Fraga
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mv3anthl.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.