From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: raw replace not working Date: Wed, 11 Mar 2020 16:18:57 +0100 Message-ID: <87a74m7wda.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55595) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC38V-00017H-UN for emacs-orgmode@gnu.org; Wed, 11 Mar 2020 11:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jC38U-0005Xp-LB for emacs-orgmode@gnu.org; Wed, 11 Mar 2020 11:19:07 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:44757) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jC38U-0005VN-FL for emacs-orgmode@gnu.org; Wed, 11 Mar 2020 11:19:06 -0400 In-Reply-To: (Roger Mason's message of "Wed, 11 Mar 2020 12:16:52 -0230") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Roger Mason Cc: Org-Mode Hello, Roger Mason writes: > Hello, > > I using Org mode version 9.2.3 (release_9.2.3-390-gfb5091 @ > /home/rmason/.emacs.d/org-git/lisp/) in GNU Emacs 26.3 (build 1, > amd64-portbld-freebsd11.3, X toolkit, Xaw3d scroll bars). > > Here is an ECM: > > #+begin_src shell :results raw replace > #!/usr/bin/env zsh > > mkdir -p Supercell > for i in 1 2 3 > do > touch Supercell/111_stuff.cif > done > ls Supercell > > #+end_src > > #+RESULTS: > 111_stuff.cif > 111_stuff.cif > 111_stuff.cif > > Is there something I'm doing wrong or is this a limitation of org > 9.2.3? It is a limitation of Org. Raw results cannot be replaced because Org cannot know what is the result. You may wrap the output within a drawer. Regards, -- Nicolas Goaziou