emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* raw replace not working
@ 2020-03-11 14:46 Roger Mason
  2020-03-11 15:18 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Mason @ 2020-03-11 14:46 UTC (permalink / raw)
  To: Org-Mode

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?

Cheers,
Roger

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: raw replace not working
  2020-03-11 14:46 raw replace not working Roger Mason
@ 2020-03-11 15:18 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-03-11 15:18 UTC (permalink / raw)
  To: Roger Mason; +Cc: Org-Mode

Hello,

Roger Mason <rmason@mun.ca> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-11 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 14:46 raw replace not working Roger Mason
2020-03-11 15:18 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).