From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Babel shell script issue
Date: Mon, 25 Apr 2016 10:37:51 +0200 [thread overview]
Message-ID: <87h9eqw0bk.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: 87eg9u3xid.fsf@ucl.ac.uk
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Monday, 25 Apr 2016 at 08:20, Sylvain Rousseau wrote:
>> Hi,
>>
>> I had the same problem. You actually need to use:
>>
>> #+begin_src shell :results drawer
>> #+end_src
>>
>> Using sh loads an org function that comes with your emacs and is outdated...
>
> Interestingly, "sh" worked for me with quite a recent org from git but I
> do think you are correct that the proper usage is with "shell".
If I change 'sh' to 'shell', I loose the syntax highlighting of the
code. Is 'sh' really deprecated and, if so, how can I get the code back
in colour?
Cheers,
Loris
Org-mode version 8.3.4 (8.3.4-31-gcb683e-elpaplus), GNU Emacs 24.4.1
--
This signature is currently under construction.
next prev parent reply other threads:[~2016-04-25 8:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ac5a3ce85c5243c6b2d730e422922843@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-25 8:04 ` Babel shell script issue Eric S Fraga
2016-04-25 8:20 ` Sylvain Rousseau
2016-04-25 8:40 ` Jarmo Hurri
[not found] ` <a93d2d3d412d434ca9fc2e9652c2c6b4@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-25 8:26 ` Eric S Fraga
2016-04-25 8:37 ` Loris Bennett [this message]
2016-04-25 13:17 ` Jarmo Hurri
2016-04-25 7:24 Jarmo Hurri
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=87h9eqw0bk.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--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).