From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [Babel] Small problem with... previewing Date: Thu, 14 Oct 2010 08:15:18 -0600 Message-ID: <87sk08g8sp.fsf@gmail.com> References: <80mxqirxf1.fsf@mundaneum.com> <87mxqinmff.fsf@gmail.com> <804ocpm003.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=38572 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6Oak-0004yK-AX for emacs-orgmode@gnu.org; Thu, 14 Oct 2010 10:15:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6Oae-0000xb-DW for emacs-orgmode@gnu.org; Thu, 14 Oct 2010 10:15:29 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:53962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6Oae-0000xH-8R for emacs-orgmode@gnu.org; Thu, 14 Oct 2010 10:15:28 -0400 Received: by iwn1 with SMTP id 1so11861329iwn.0 for ; Thu, 14 Oct 2010 07:15:27 -0700 (PDT) In-Reply-To: <804ocpm003.fsf_-_@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastie?= =?utf-8?Q?n?= Vauban"'s message of "Thu, 14 Oct 2010 14:28:44 +0200") 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 Ah, Thanks for pointing this out, this was actually a small issue in the shell specific body expansion (it looks like Dan and I have both fixed this in the last 5 minutes), it should now be fixed and strapped down with a unit test. Best -- Eric S=C3=A9bastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >> The following inhibits the insertion of blank lines on tangling. >> >> (setq org-babel-tangle-pad-newline nil) > > That works for the tangled file, but not for the preview buffer (run with= =3DC-c > C-v C-v=3D). > > Test it on the following: > > #+begin_src sh :results output :exports results > grep indAllocType ../../champs.csv |\ > iconv -f LATIN1 -t UTF8 |\ > tr "[]" "|" | cut -d "|" -f 2 | cut -d " " -f 2- |\ > sed 's%, %\n%g' > #+end_src > > Best regards, > Seb