[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] src_blocks - :results raw and replace don't work together
From: |
Thorsten Jolitz |
Subject: |
Re: [O] [BUG] src_blocks - :results raw and replace don't work together |
Date: |
Mon, 07 Jul 2014 17:40:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> Thorsten Jolitz <address@hidden> 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.
ok, I see
from `org-babel-remove-result':
,----
| (when (looking-at (concat org-babel-result-regexp ".*$")) ...)
`----
seems a bit tricky to adapt this to 'raw results ...
But at least there should be a hint in the manual that ':results raw
replace' is not supposed to work, and what would be a possible
workaround.
--
cheers,
Thorsten
- Re: [O] [BUG] src_blocks - :results raw and replace don't work together, (continued)
Re: [O] [BUG] src_blocks - :results raw and replace don't work together, Nick Dokos, 2014/07/07
Re: [O] [BUG] src_blocks - :results raw and replace don't work together,
Thorsten Jolitz <=