From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH} Re: Bug: problem when exporting a org-mode file with a lots of code blocks
Date: Wed, 11 Mar 2015 08:40:28 +0100 [thread overview]
Message-ID: <87h9tsyob7.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <alpine.OSX.2.00.1503101411500.2030@charlessmacbook> (Charles C. Berry's message of "Tue, 10 Mar 2015 14:22:51 -0700")
Hello,
"Charles C. Berry" <ccberry@ucsd.edu> writes:
> The patch causes an informative error message to be reported for src
> blocks like this (no language):
>
> #+begin_src
> (+ 1 2)
> #_end_src
Thanks. However could you move the check for language earlier (i.e.,
right after "(src-block ...)")?
> Arguably, it would be better to skip the malformed src block as
> `org-babel-map-src-blocks' does or (as per John's message)
> org-babel-tangle does.
The current trend is to throw an error when something is missing during
export (e.g., a footnote definition, a macro template). So it's fine.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2015-03-11 7:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 7:37 Bug: problem when exporting a org-mode file with a lots of code blocks XIE Yuheng
2015-03-10 16:51 ` John Kitchin
2015-03-10 17:19 ` Charles Berry
2015-03-10 21:22 ` [PATCH} " Charles C. Berry
2015-03-11 7:40 ` Nicolas Goaziou [this message]
2015-03-11 11:16 ` Nicolas Goaziou
2015-03-12 2:30 ` Charles C. Berry
2015-03-13 8:12 ` Nicolas Goaziou
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9tsyob7.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
/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 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).