From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Wei Tang <hi@that.world>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-babel-execute-buffer "No surrounding element" error
Date: Thu, 31 Aug 2017 09:03:29 +0200 [thread overview]
Message-ID: <871snsp6bi.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <e2f39124-07d5-aceb-b944-f64f997e81b8@that.world> (Wei Tang's message of "Thu, 31 Aug 2017 03:02:44 +0800")
Hello,
Wei Tang <hi@that.world> 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 reproduce it.
> Adding `(outline-show-all)` fixed this issue for me. Does this look like
> a good solution?
I don't know. It sounds odd. Could you show an ECM?
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2017-08-31 7:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 19:02 [PATCH] org-babel-execute-buffer "No surrounding element" error Wei Tang
2017-08-31 7:03 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871snsp6bi.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=hi@that.world \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.