From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org-mode as a metalanguage: calling SQL "functions" Date: Wed, 3 Apr 2013 07:54:04 +0200 Message-ID: <16857F81-04F6-4F71-96C2-E9FBBD36BCA0@gmail.com> References: <87vc85raoh.fsf@ericabrahamsen.net> <87y5d1itxx.fsf@gmail.com> <87mwtgr346.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNGeA-0004rj-8Q for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 01:54:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNGe9-000479-7Z for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 01:54:10 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:57030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNGe9-00045h-1f for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 01:54:09 -0400 Received: by mail-wg0-f43.google.com with SMTP id f12so1153644wgh.34 for ; Tue, 02 Apr 2013 22:54:08 -0700 (PDT) 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: Eric Schulte Cc: Eric Abrahamsen , Orgmode Mailing List , Gary Oberbrunner On 2.4.2013, at 23:54, Eric Schulte wrote: > Gary Oberbrunner writes: >=20 >> 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: >>=20 >> #+name: example-block >> #+begin_src sh :var input=3D"" >> echo "input is $input" >> #+end_src >>=20 >> but this doesn't: >>=20 >> #+name: example-block(input=3D"") >> #+begin_src sh >> echo "input is $input" >> #+end_src >>=20 >> The doc seems to say it should work the same, in >> http://orgmode.org/manual/var.html (see "Alternate Argument Syntax"). >>=20 >=20 > 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. I am not sure if I have any say here, but I agree that the args in name = notation looks not as good and might be considered for abolishment. - Carsten=