From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Babel shell script issue Date: Mon, 25 Apr 2016 10:37:51 +0200 Message-ID: <87h9eqw0bk.fsf@hornfels.zedat.fu-berlin.de> References: <87inz63yhi.fsf@ucl.ac.uk> <87eg9u3xid.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auc1s-0000J2-Du for emacs-orgmode@gnu.org; Mon, 25 Apr 2016 04:38:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auc1n-0002Ly-F0 for emacs-orgmode@gnu.org; Mon, 25 Apr 2016 04:38:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:50972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auc1n-0002Lu-8q for emacs-orgmode@gnu.org; Mon, 25 Apr 2016 04:37:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1auc1l-0004UG-3D for emacs-orgmode@gnu.org; Mon, 25 Apr 2016 10:37:57 +0200 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2016 10:37:57 +0200 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2016 10:37:57 +0200 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" To: emacs-orgmode@gnu.org Eric S Fraga 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.