emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] how to pass data to gnuplot from another block


From: Sebastien Vauban
Subject: Re: [O] [babel] how to pass data to gnuplot from another block
Date: Fri, 13 Dec 2013 20:08:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Greg Troxel wrote:
> Eric Schulte <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]