emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Noorul Islam <noorul@noorul.com>
Cc: emacs-orgmode@gnu.org, Aidan Gauland <aidalgol@no8wireless.co.nz>
Subject: Re: org-export-string
Date: Sun, 31 Oct 2010 08:14:27 -0600	[thread overview]
Message-ID: <87mxpuwit8.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTi=_a2ycN4=OSV2T1PB7BPmh2rubwL9X3zuroVkJ@mail.gmail.com> (Noorul Islam's message of "Sun, 31 Oct 2010 14:18:24 +0530")

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 <noorul@noorul.com> writes:

> On Sun, Oct 31, 2010 at 12:15 PM, Aidan Gauland
> <aidalgol@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

  reply	other threads:[~2010-10-31 14:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31  6:45 org-export-string Aidan Gauland
2010-10-31  7:04 ` org-export-string Puneeth
2010-10-31  7:46   ` org-export-string Aidan Gauland
2010-10-31  8:48 ` org-export-string Noorul Islam
2010-10-31 14:14   ` Eric Schulte [this message]
2010-11-01  8:02     ` org-export-string Aidan Gauland

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxpuwit8.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=aidalgol@no8wireless.co.nz \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).