From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Embedded code Date: Thu, 27 Jan 2011 15:51:00 -0700 Message-ID: <8739oegduh.fsf@gmail.com> References: <2324250583714673900@unknownmsgid> <87aaizhz23.fsf@gmail.com> <4D3554AC.1060303@gmail.com> <8762tmfa74.fsf@gmail.com> <871v4a2b15.fsf@gmail.com> <87oc79elrj.fsf@gmail.com> <878vy86gzs.fsf@gmail.com> <80mxmoroho.fsf@missioncriticalit.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=51678 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Piik9-0002D4-Pa for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 02:28:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Piijh-0008OU-Ce for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 02:27:41 -0500 Received: from mail-pv0-f169.google.com ([74.125.83.169]:60882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Piijh-0008OI-82 for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 02:27:13 -0500 Received: by pvc30 with SMTP id 30so673852pvc.0 for ; Thu, 27 Jan 2011 23:27:12 -0800 (PST) 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 S=C3=A9bastien Vauban writes: > Hi Eric and Ido, > > Ido Magal wrote: >> I've gotten the fix and am trying to verify it, however I keep seeing >> >>> File local-variables error: (invalid-function org-save-outline-visibili= ty) >> >> I'm not sure if it's relevant or not. This is my test file: >> >> -------------------------------------------------------------------- >> # -*- eval: (org-babel-execute-buffer) -*- >> >> src_sh[:results append]{ls -t ~/org/ *.txt|head -5} >> -------------------------------------------------------------------- > > When this call is executed, the table results is inserted *before* the ca= ll > line. Is this the intended behavior? > The implementation of inline code blocks assumed that they would be used inline for referencing live values from within paragraphs. The most common usage replaces the code block with the result upon export. We never really anticipated this syntax being used to replace regular code blocks. Given that these can and now are being used in other ways, I've updated the handling of inline code blocks bringing it more inline with regular code block usage -- and simplifying the export mechanisms. They should now insert their results *after* the code block. Best -- Eric > > Best regards, > Seb