From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [babel] how to pass data to gnuplot from another block Date: Fri, 13 Dec 2013 20:08:05 +0100 Message-ID: <86k3f8602y.fsf@somewhere.org> References: <87d2lsbvy7.fsf@ucl.ac.uk> <87iovkihe6.fsf@gmail.com> <8738mol52h.fsf@alphaville.bos.redhat.com> <874n73gk70.fsf@gmail.com> <87vbysahv0.fsf@gmail.com> <87ob4kafjd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Greg Troxel wrote: > Eric Schulte writes: > >> Although purely semantically, in my opinion the "sh" in "#+begin_src sh" >> indicates generic "shell-script", not the POSIX sh. E.g., there is no >> ob-bash.el or ob-csh.el. > > I see your point. But stepping back, I have always felt that > "#+begin_src foo" referred to a language I'd say, personally, that `foo' would refer to a mode (`foo-mode') [1] which supports one (or multiple) language(s). And I guess that, in Emacs, `sh' is the mode for editing Shell scripts (in sh, bash, zsh, etc.). Though, I'm not 100% sure of what I'm saying here... > sometimes where that language and a particular program are inseparable > (e.g. gnuplot). But sh is a first-class language. > >> See the first line in ob-sh.el, >> ,---- >> | ;;; ob-sh.el --- org-babel functions for shell evaluation >> `---- Best regards, Seb [1] Do C-c ' and see that Org (tries to) call(s) the mode foo-mode. -- Sebastien Vauban