From: Aidan Gauland <aidalgol@no8wireless.co.nz>
To: emacs-orgmode@gnu.org
Subject: Re: parsing formatted text
Date: Fri, 29 Oct 2010 19:59:33 +0000 (UTC) [thread overview]
Message-ID: <loom.20101029T215508-916@post.gmane.org> (raw)
In-Reply-To: 87iq0lv2bb.fsf@gmail.com
Eric Schulte <schulte.eric <at> gmail.com> writes:
> You could pass the text through the `org-export-string' function to
> generate a string of HTML from a string of Org markup.
>
> e.g.
>
> (org-export-string "plain plain *bold* plain" "html")
>
> returns the following string
>
> "<p>plain plain <b>bold</b> plain</p>"
Actually, now that I've tried that, I'm getting prompted for a
filename when I evaluate that.
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 is exactly what I want. Any idea how I could get rid of the
prompt so I can run the function non-interactively?
--Aidan
prev parent reply other threads:[~2010-10-29 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-29 7:50 parsing formatted text Aidan Gauland
2010-10-29 8:19 ` Eric Schulte
2010-10-29 8:58 ` Aidan Gauland
2010-10-29 19:59 ` Aidan Gauland [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=loom.20101029T215508-916@post.gmane.org \
--to=aidalgol@no8wireless.co.nz \
--cc=emacs-orgmode@gnu.org \
/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.