From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-export-string Date: Sun, 31 Oct 2010 08:14:27 -0600 Message-ID: <87mxpuwit8.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=41650 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCYgB-0005Ol-GD for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 10:14:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCYg6-0002Ez-CS for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 10:14:39 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:47548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCYg6-0002Eo-9L for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 10:14:34 -0400 Received: by iwn38 with SMTP id 38so5440021iwn.0 for ; Sun, 31 Oct 2010 07:14:33 -0700 (PDT) In-Reply-To: (Noorul Islam's message of "Sun, 31 Oct 2010 14:18:24 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noorul Islam Cc: emacs-orgmode@gnu.org, Aidan Gauland 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 writes: > On Sun, Oct 31, 2010 at 12:15 PM, Aidan Gauland > 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. =C2=A0Aside from the prompt, this >> function does exactly what I need. =C2=A0Any 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