[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Babel shell script issue
From: |
Loris Bennett |
Subject: |
Re: [O] Babel shell script issue |
Date: |
Mon, 25 Apr 2016 10:37:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Eric S Fraga <address@hidden> 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.