From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [babel] ledger tutorial on Worg Date: Tue, 07 Sep 2010 17:03:27 -0600 Message-ID: <87wrqxw3ou.fsf@gmail.com> References: <871v9lm0s3.wl%ucecesf@ucl.ac.uk> <4296BE2D-051E-47E8-8AA7-24582082DD0F@gmail.com> <87zkw8vzxw.fsf@gmail.com> <87aao1bt8w.fsf@mundaneum.com> <87mxs1co0f.wl%ucecesf@ucl.ac.uk> <87mxs071us.fsf@mundaneum.com> <87tym8b3e0.fsf@gmail.com> <87mxryv9ah.fsf@mundaneum.com> <8762ymo6hf.fsf@gmail.com> <877hizvrui.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=36198 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot7It-0004pj-Ir for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 19:10:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot7Is-0001sX-5c for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 19:10:15 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:42040) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot7Is-0001sT-3K for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 19:10:14 -0400 Received: by gxk9 with SMTP id 9so2904520gxk.0 for ; Tue, 07 Sep 2010 16:10:13 -0700 (PDT) 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 Hi Seb, S=C3=A9bastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >> S=C3=A9bastien Vauban writes: >> >>> Hi Eric(s), >>> >> >> Hi Seb, >> >> [...] >>> >>> 1. I find it weird to have all the parameters of =3D:cmdline=3D not enc= losed >>> between quotes. What should be the best option, here? That was a su= bject, >>> long ago, on Org-Babel: to quote or not to quote... >>> >> >> I don't know that this was ever explicitly discussed, I believe that the >> no-quoting behavior may have simply fallen out of the initial >> implementation. I'd certainly like to hear other people's opinions on >> this, but I've personally enjoyed not having to place quotes in every >> instance. > > In december 2009, I wrote: > > "I'm a bit confused (as you may have seen in my last posts) about whe= n we > do have to quote strings and when we do have to avoid doing it. Would= you > have a one-liner explanation about when we have to use quotes?" > > See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg20265.html for > contextual information. > > I remembered "you" (Dan or you) answered it somehow, but it must have been > (around that same period) in another thread. Though, I don't find pointers > anymore... > > Question is more: is it clear to mix parameters names (such as =3D:cmdlin= e=3D) and > long values which are unquoted (such as =3Dregistry unknown credit-card= =3D and > many much more options)? > > Shouldn't we properly begin and end where the given value is? > Through extensive person use I've not run into any instances where the lack of quotes has actually caused a problem, or where there has been a valid combination of header arguments which could not be successfully parsed. Without such an example I don't find it motivating to require quotes. > > >>> 2. When the evaluation produces no output, but had well produced output >>> before, shouldn't Babel have to delete the previously written result= s in >>> the Org buffer? >> >> This is a good point. Currently Babel just quits if it receives a nil >> result, but I think you're right that we should replace existing results >> when a nil result has been returned. I'll add this as PROPOSED to the ba= bel >> task list. > > I consider this kind of mandatory, for the sake of coherency, and to real= ly > make use of Org-babel every time I want to run some shell commands (and c= hange > them, eventually getting no results then). > I've just pushed up a change that implements this behavior. > > Thanks a lot for everything you did and do for us. > My pleasure -- Eric > > Best regards, > Seb