emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: "François Pinard" <pinard@iro.umontreal.ca>, emacs-orgmode@gnu.org
Subject: Re: Problem with #+BEGIN_SRC shell, and export
Date: Fri, 03 Jan 2014 15:53:34 +0100	[thread overview]
Message-ID: <87mwjdce1d.fsf@bzg.ath.cx> (raw)
In-Reply-To: <8738m0r0yq.fsf@gmail.com> (Eric Schulte's message of "Tue, 10 Dec 2013 11:53:30 -0700")

Hi,

Eric Schulte <schulte.eric@gmail.com> writes:

> Perhaps one could add '("shell" . 'sh) to org-src-lang-modes.  That
> would protect against this particular error.  Whatever solution is
> adopted should be easily discovered and sidestepped in case anyone
> actually did want to export code using shell-mode for highlighting.

In this particular case, I don't think adding 

  '("shell" . 'sh)

to `org-src-lang-modes' will help, as shell-mode is a mode for
shell interactions, not just shell editing.  So the user probably
wanted sh-mode instead.

As for making it easier to discover I don't know, the docstring
seems complete enough to me.

-- 
 Bastien

  reply	other threads:[~2014-01-03 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06  4:58 Problem with #+BEGIN_SRC shell, and export François Pinard
2013-12-10 18:53 ` Eric Schulte
2014-01-03 14:53   ` Bastien [this message]
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=87mwjdce1d.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=pinard@iro.umontreal.ca \
    --cc=schulte.eric@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 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).