From: "Eric Schulte" <schulte.eric@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] babel: delaying call to block preprocessing
Date: Fri, 12 Nov 2010 16:44:39 -0700 [thread overview]
Message-ID: <874obmdqzv.fsf@gmail.com> (raw)
In-Reply-To: 87vd432som.wl%n.goaziou@gmail.com
Hi Nicolas,
Thanks for making this change, I agree it is appropriate now that Babel
is included in Org-mode. I've just pushed it up.
Best -- Eric
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> I'm having a little problem when I want to insert a code block inside
> a list. Here is an example:
>
> =====
> 1. Drawing is following:
>
> #+BEGIN_SRC asymptote :file drawing.pdf
> unitsize(5cm);
> draw(unitcircle);
> #+END_SRC
>
>
> Now find its center with compass only.
>
> 2. Another item.
> =====
>
> Upon exporting this, as the code is removed, the blank lines
> surrounding it join together, creating a 2-blank-lines combo very bad
> for the list processing taking place a few lines later. Indeed, when
> `org-export-preprocess-string' proceeds marking list endings in the
> export string, it sees there two separates lists instead of one.
>
> So, the following patch moves `org-export-blocks-preprocess' out of
> its hook (now babel is in Org core this isn't needed anymore), and
> make it called somewhat later, after list processing (and after
> removing excluded and archived trees).
>
> Regards,
>
> --
> Nicolas
>
prev parent reply other threads:[~2010-11-13 0:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 2:15 [PATCH] babel: delaying call to block preprocessing Nicolas Goaziou
2010-11-12 23:44 ` Eric Schulte [this message]
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=874obmdqzv.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
/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.