It should be possible to use edebug to locate the source of this prompt. Evaluate the definition of `org-export-string' with a prefix argument (i.e. C-u C-M-x). Then when you call `org-export-string' you can step through all S-expressions in the definition, until you reach the one which is generating the prompt. Then evaluate *that* function with edebug and recurse.
This should lead you to the prompt and from there we should be able to figure out how to avoid it. Best -- Eric Noorul Islam <noo...@noorul.com> writes: > On Sun, Oct 31, 2010 at 12:15 PM, Aidan Gauland > <aidal...@no8wireless.co.nz> wrote: >> Evaluating (org-export-string "plain plain *bold* plain" "html") >> prompts me (in the minibuffer) with... >> >> File to save in: /tmp/ >> >> I can't see any obvious s-exp in the definition of org-export-string >> that would be bringing up the prompt. Aside from the prompt, this >> function does exactly what I need. Any idea how I could get rid of >> the prompt so I can run the function non-interactively? >> > > I am not able to reproduce this on > > Org-mode version 7.01trans (release_7.02.22.gde21) > GNU Emacs 23.2.2 (i686-pc-linux-gnu) > of 2010-06-08 on sajida > > Thanks and Regards > Noorul > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode