From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Problem with #+BEGIN_SRC shell, and export Date: Fri, 03 Jan 2014 15:53:34 +0100 Message-ID: <87mwjdce1d.fsf@bzg.ath.cx> References: <87r49qpoc3.fsf@iro.umontreal.ca> <8738m0r0yq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz68F-0003GL-5H for emacs-orgmode@gnu.org; Fri, 03 Jan 2014 09:53:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vz686-0002fH-F1 for emacs-orgmode@gnu.org; Fri, 03 Jan 2014 09:53:51 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:56737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz686-0002eo-5r for emacs-orgmode@gnu.org; Fri, 03 Jan 2014 09:53:42 -0500 Received: by mail-wg0-f52.google.com with SMTP id x13so13625861wgg.19 for ; Fri, 03 Jan 2014 06:53:41 -0800 (PST) In-Reply-To: <8738m0r0yq.fsf@gmail.com> (Eric Schulte's message of "Tue, 10 Dec 2013 11:53:30 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: =?iso-8859-1?Q?Fran=E7ois?= Pinard , emacs-orgmode@gnu.org Hi, Eric Schulte 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