Hello,

Alexandre Duret-Lutz <a...@lrde.epita.fr> writes:

> On Tue, Jan 15, 2019 at 11:50 PM Alexandre Duret-Lutz <a...@lrde.epita.fr> 
> wrote:
>> Since I updated to org 9.2, the following idiom stopped working.
>>
>> ------------------
>> #+NAME: context
>> #+BEGIN_SRC C++ :exports none
>> #include <iostream>
>> int u = 0;
>> #+END_SRC
>>
>> #+BEGIN_SRC C++ :exports both :noweb strip-export :results verbatim
>> <<context>>
>> int main()
>> {
>>   std::cout << "bar\n";
>>   return u;
>> }
>> #+END_SRC
>> ------------------
>>
>> Upon export to html I'm expecting to see the second block of code with
>> <<context>> stripped away, followed by a block of text containing the
>> result (bar).  With Org 9.2 I don't get the latter, because the
>> compilation of this small program fails during the export.  Inspection
>> of the temporary file passed to the compiler reveals that <<context>>
>> has been stripped away from the code passed as input to the compiler,
>> not just from the code displayed in html.
>
> FWIW, reverting the change made to org-babel-exp-results in the following
> patch seems to fix my issue.
>
>
> commit 8e54cafeb286ea5eb25565a637b121a2f597c48b
> Author: Nicolas Goaziou <m...@nicolasgoaziou.fr>
> Date:   Sat Jun 23 23:04:45 2018 +0200

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

Reply via email to