From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Subject: Re: Org-mode as a metalanguage: calling SQL "functions" Date: Wed, 03 Apr 2013 07:50:02 +0200 Message-ID: <515BC30A.80908@easy-emacs.de> References: <87vc85raoh.fsf@ericabrahamsen.net> <87y5d1itxx.fsf@gmail.com> <87mwtgr346.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNGYr-0002PG-IG for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 01:48:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNGYq-0002QI-Hp for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 01:48:41 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:62877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNGYq-0002Q5-96 for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 01:48:40 -0400 In-Reply-To: <87mwtgr346.fsf@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Am 02.04.2013 23:54, schrieb Eric Schulte: > Gary Oberbrunner writes: > >> Aha -- you have to use the :var syntax on the begin_src line, not the >> params-in-parens syntax on the name line. Your version works: >> >> #+name: example-block >> #+begin_src sh :var input="" >> echo "input is $input" >> #+end_src >> >> but this doesn't: >> >> #+name: example-block(input="") >> #+begin_src sh >> echo "input is $input" >> #+end_src >> >> The doc seems to say it should work the same, in >> http://orgmode.org/manual/var.html (see "Alternate Argument Syntax"). >> > > At this point I'm not sure if the documentation or the code should be > amended. I've personally never liked the args-in-block-name syntax, but > I don't recall if we formally decided to abandon it, or if it has simply > been broken in a recent commit. > Hi Eric, AFAIU exist considerable backsides when allowing this args-in-block-name. As languages differ, you must write some translations for every lang somehow, i.e, re-invent it's handling. Also can't see a meta-languags than, it would mean address other languages from an Org dialect. A major backside already visible it breaking the legibility of native languages code. Org constructs are not easier to read than native lang, it's more difficult with that lined-up args lists. Andreas