From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [BUG] src_blocks - :results raw and replace don't work together Date: Mon, 07 Jul 2014 04:03:09 +0200 Message-ID: <87lhs6rkma.fsf@gmail.com> References: <87vbraroza.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3yHB-00078N-NM for emacs-orgmode@gnu.org; Sun, 06 Jul 2014 22:03:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3yH5-0000f5-Ge for emacs-orgmode@gnu.org; Sun, 06 Jul 2014 22:03:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:36896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3yH5-0000es-9i for emacs-orgmode@gnu.org; Sun, 06 Jul 2014 22:03:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X3yH3-0006JB-O7 for emacs-orgmode@gnu.org; Mon, 07 Jul 2014 04:03:21 +0200 Received: from g231108255.adsl.alicedsl.de ([92.231.108.255]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jul 2014 04:03:21 +0200 Received: from tjolitz by g231108255.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jul 2014 04:03:21 +0200 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 tsd@tsdye.com (Thomas S. Dye) writes: Hi Thomas, > Thorsten Jolitz writes: > >> Hi List, >> >> evaluating this 3 times does not work as expected: >> >> ,---- >> | * A >> | >> | #+header: :results raw replace >> | #+begin_src emacs-lisp >> | (+ 2 2) >> | #+end_src >> | >> | #+results: >> | 4 >> | 4 >> | 4 >> `---- >> >> Independent from argument order, 'replace' (which should be default >> anyway) is ignored. > > If you give the source code block a name, it should work as expected. Not over here - does it work for you? ,---- | * A | | #+name: foo | #+header: :results raw replace | #+begin_src emacs-lisp | (+ 2 2) | #+end_src | | #+results: foo | 4 | 4 | 4 `---- BTW, even if it would work with a name, it should work without too IMO. -- cheers, Thorsten