Re: [O] [PATCH] org-babel-execute-buffer "No surrounding element" error

2017-08-31 Thread Nicolas Goaziou
Hello, Wei Tang writes: > I was trying to use org-babel-execute-buffer to update all org-babel > code block results for a org document. It works fine when the code block > is visible, but when it's hidden, I got the "user-error: No surrounding > element" error and nothing was executed. I cannot

[O] [PATCH] org-babel-execute-buffer "No surrounding element" error

2017-08-30 Thread Wei Tang
I was trying to use org-babel-execute-buffer to update all org-babel code block results for a org document. It works fine when the code block is visible, but when it's hidden, I got the "user-error: No surrounding element" error and nothing was executed. Adding `(outline-show-all)` fixed this issu