emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: Problem with #+BEGIN_SRC shell, and export
Date: Thu, 05 Dec 2013 23:58:52 -0500	[thread overview]
Message-ID: <87r49qpoc3.fsf@iro.umontreal.ca> (raw)

Hi, Org people.

Let me make this report from memory, now that I'm back home! :-)

In an Org file, a coworker used "#+BEGIN_SRC shell" where he should have
written "#+BEGIN_SRC sh".  While this looks like a benign error to me,
it broke my publishing script, and I did not figure at once what was
happening.  At export time, when Emacs is called in batch, the export
procedure dies.  Emacs says that some process disappeared, and I think I
got that the batch Emacs tries to start "M-x shell" under the scene.

Could the HTML exporter (or all of them) protect itself (themselves)
better?  Or else, maybe, if this is a reasonable to do, could Org tell
us, somehow, whenever a source mode (like "shell", here) is "wrong"?

François

             reply	other threads:[~2013-12-10 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06  4:58 François Pinard [this message]
2013-12-10 18:53 ` Problem with #+BEGIN_SRC shell, and export Eric Schulte
2014-01-03 14:53   ` Bastien
2014-01-03 15:10     ` Sharon Kimble

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=87r49qpoc3.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --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).