From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [BUG] src_blocks - :results raw and replace don't work together Date: Sun, 03 Aug 2014 21:20:08 -0400 Message-ID: <87r40xujbn.fsf@gmail.com> References: <87vbraroza.fsf@gmail.com> <87ion96zny.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XE7D1-0006bD-Vb for emacs-orgmode@gnu.org; Sun, 03 Aug 2014 21:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XE7Cu-0000QH-BN for emacs-orgmode@gnu.org; Sun, 03 Aug 2014 21:37:07 -0400 Received: from mail-oa0-x232.google.com ([2607:f8b0:4003:c02::232]:35313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XE7Cu-0000Pt-79 for emacs-orgmode@gnu.org; Sun, 03 Aug 2014 21:37:00 -0400 Received: by mail-oa0-f50.google.com with SMTP id g18so4530184oah.37 for ; Sun, 03 Aug 2014 18:36:59 -0700 (PDT) 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: > 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. > > Right - `raw' inserts results without delimiters so org has no idea > where they end and cannot delete them (try org-babel-remove-result) > or replace them. Well said Nick, this is a natural limitation. See the "drawer" portion of the following page of the manual. (info "(org)Results") In general checking the manual before posting to the ML is a good idea. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)