From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [babel] Tiny "problems" Date: Thu, 17 Dec 2009 11:23:18 -0700 Message-ID: References: <87vdgpzf9i.fsf@mundaneum.com> <87ocmbyu57.fsf@mundaneum.com> <87zl5im0mb.fsf@mundaneum.com> <87vdg5lluu.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLL0e-0001h0-DM for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 13:23:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLL0Z-0001YW-D9 for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 13:23:31 -0500 Received: from [199.232.76.173] (port=56291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLL0Z-0001YI-67 for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 13:23:27 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:42304) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLL0Y-0003lF-VS for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 13:23:27 -0500 Received: by bwz7 with SMTP id 7so1765244bwz.26 for ; Thu, 17 Dec 2009 10:23:26 -0800 (PST) In-Reply-To: (Eric Schulte's message of "Thu, 17 Dec 2009 09:58:39 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org I just pushed up a commit which should implement your idea mentioned below. Please try it out and let me know if it doesn't work as expected. Best -- Eric "Eric Schulte" writes: > Hi S=C3=A9bastien, > > S=C3=A9bastien Vauban writes: > [...] >> >> In fact, a better specification is: copy whatever (any character) is in = front >> of `<<>>' in front of every line of the referenced block (same >> amount of characters, be it spaces or something else). >> >> That way, a commented SQL source block like the following would be corre= ctly >> outputted: >> >> -- -- set flag >> -- UPDATE dossier >> -- SET DossierSentToSector =3D @now >> -- WHERE ID >> -- IN (SELECT actID_fk >> -- FROM actions >> -- WHERE (actID =3D 338 AND actEtat =3D 3)) >> -- AND F1SignDate < @firstDayOfThisMonth >> -- AND DossierSentToSector IS NULL >> -- AND >> -- <> >> >> Currently, the first line of the "condition" block is commented, the oth= ers >> not, resulting in incorrect code being tangled. >> >> With the above "spec", I guess all cases are covered. What do you think? >> > > I like it a lot, I'll add this to the TODO. Thanks -- Eric > >> >> Best regards, >> Seb