RE: org-babel-execute-src-block filters characters from :session *shell* output AND Re: [BUG] conda doesn't work in ob-shell sessions

2024-12-15 Thread Ihor Radchenko
"Cook, Malcolm" writes: > # -*- org-confirm-babel-evaluate: nil; -*- > ... Duplicate of https://list.orgmode.org/orgmode/ds7pr20mb4671e61718cec1fd86dac722be...@ds7pr20mb4671.namprd20.prod.outlook.com/ -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at

Re: [BUG] conda doesn't work in ob-shell sessions

2024-12-15 Thread Ihor Radchenko
Duplicate of https://list.orgmode.org/orgmode/ds7pr20mb4671e61718cec1fd86dac722be...@ds7pr20mb4671.namprd20.prod.outlook.com/ Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at

Re: [BUG] conda doesn't work in ob-shell sessions AND org-babel-execute-src-block filters characters from :session *shell* output

2024-12-15 Thread Ihor Radchenko
"Cook, Malcolm" writes: > #+begin_src shell :session *shell* :results output > conda create --yes --name myenv python=3.9 > #+end_src > ... > #+begin_src shell :session *shell* :results output > conda activate myenv > #+end_src > > #+RESULTS: > > #+begin_src shell :session *shell* :results outp

RE: org-babel-execute-src-block filters characters from :session *shell* output AND Re: [BUG] conda doesn't work in ob-shell sessions

2024-10-23 Thread Cook, Malcolm
I have a new workaround, which is to configure conda to not change the prompt. conda config --set changeps1 false As discussed elsewhere: Do not modify prompt by default #10928 https://github.com/conda/conda/issues/10928 I generally would not want to do this in normal intera

RE: org-babel-execute-src-block filters characters from :session *shell* output AND Re: [BUG] conda doesn't work in ob-shell sessions

2024-10-23 Thread Cook, Malcolm
# -*- org-confirm-babel-evaluate: nil; -*- Excuse the top-posting. I’m reviving two old-ish threads and felt it best. I have been struggling with interrelated issues raised in - https://list.orgmode.org/87jznda90u.fsf@localhost/#t - https://list.orgmode.org/87le1bc8j3.fsf@localhost/ I expec

Re: [BUG] conda doesn't work in ob-shell sessions AND org-babel-execute-src-block filters characters from :session *shell* output

2024-10-23 Thread Cook, Malcolm
# -*- org-confirm-babel-evaluate: nil; -*- I have been struggling with interrelated issues raised in - https://list.orgmode.org/87jznda90u.fsf@localhost/#t - https://list.orgmode.org/87le1bc8j3.fsf@localhost/ I expect I am using all the patches offered in addressing these given my recent buil

Re: [BUG] conda doesn't work in ob-shell sessions

2024-10-23 Thread Cook, Malcolm
# -*- org-confirm-babel-evaluate: nil; -*- I have been struggling with interrelated issues raised in - https://list.orgmode.org/87jznda90u.fsf@localhost/#t - https://list.orgmode.org/87le1bc8j3.fsf@localhost/ I expect I am using all the patches offered in addressing these given my recent buil

Re: [BUG] conda doesn't work in ob-shell sessions

2024-02-09 Thread Ihor Radchenko
Matt writes: > On Fri, 26 Jan 2024 01:42:59 +0100 Jack Kamm wrote --- > > > Second version of the patch works on my test example now. The initial > > block hangs for a few seconds but then finishes. Subsequent blocks seem > > to work without any noticeable hanging. > > I was able to c

Re: [BUG] conda doesn't work in ob-shell sessions

2024-01-27 Thread Matt
On Fri, 26 Jan 2024 01:42:59 +0100 Jack Kamm wrote --- > Second version of the patch works on my test example now. The initial > block hangs for a few seconds but then finishes. Subsequent blocks seem > to work without any noticeable hanging. I was able to confirm this as well. --

Re: [BUG] conda doesn't work in ob-shell sessions

2024-01-25 Thread Ihor Radchenko
Matt writes: > > What about the attached second version of the patch? > > I spent way too long trying to test it but I'm not sure I applied the patch > correctly. > > I did the following, then realized that the patch I applied undid > changes (I assume) from a previous patch and so it must have