From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: New tutorial on using Emacs lisp for Org spreadsheet formulas Date: Wed, 01 Feb 2012 07:27:29 +0100 Message-ID: <87pqdzt6em.fsf@Rainer.invalid> References: <87r4yfixpk.fsf@gnu.org> <87ipjren76.fsf@Rainer.invalid> <87aa53u0rz.fsf@gmail.com> <87pqdzhca1.fsf@Rainer.invalid> <87sjivsiax.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsTff-0005aH-Af for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 01:27:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsTfZ-0007LE-3i for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 01:27:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:48753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsTfY-0007KM-Qj for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 01:27:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RsTfT-0002Zr-Or for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 07:27:43 +0100 Received: from pd9eb33d6.dip.t-dialin.net ([217.235.51.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Feb 2012 07:27:43 +0100 Received: from Stromeko by pd9eb33d6.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Feb 2012 07:27:43 +0100 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 Nicolas Goaziou writes: > I don't see what is clumsy with affiliated keywords. Well, you write the arguments before starting the source block, getting everything wardbacks (and I don't think that's easier to parse, but you would know better(*)). Then there is the verbosity of the headers themselves, but that's an argument based on aesthetics. Last but not least I can never remember if any of the "#+" stuff is supposed to end with a ":" and whether it wants another ":" in front of the arguments or not. (*) Reminds me I'll have to try what happens if I write header arguments that are detached from the source block. Devious, I know, but the manual does not really specify anything. >> #+BEGIN_SRC emacs_lisp >> :+HEADERS: >> :var data1=1 >> :var data2=2 >> :END: >> (message "data1:%S, data2:%S" data1 data2) >> #END_SRC > > Src-blocks are elements. As such, they can't contain drawers. If you look carefully, that source block above does not contain a drawer. It has a (hypothetical) associated multiline header argument that happens to look and feel like a drawer. > Though, drawers can contain src-blocks. Is there any specification that they must fully contain them? Anyway, that was just an idea and if nobody likes it, that's fine with me, too. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada