emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Hsiu-Khuern Tang <tangoh@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Export a Subtree to an other .org file
Date: Thu, 04 Apr 2013 14:19:38 +0200	[thread overview]
Message-ID: <874nfmzdwl.fsf@gmail.com> (raw)
In-Reply-To: <20130403213639.GA31923@localhost> (Hsiu-Khuern Tang's message of "Wed, 3 Apr 2013 14:36:41 -0700")

Hello,

Hsiu-Khuern Tang <tangoh@gmail.com> writes:

> * On Wed 03:35PM, 03 Apr 2013, John Hendy (jw.hendy@gmail.com) wrote:
>> On Wed, Apr 3, 2013 at 2:31 PM, Steve Prud'Homme <sprudhom@gmail.com> wrote:
>> > Message :
>> > No command associated with key  ^S
>> >
>> 
>> Bastien's response was for the new exporter and your C-e 1 command
>> indicates you're not using that version yet. I'm on the new exporter,
>> so I can't recall what old options looked like, but from the manual
>> could you try ASCII?
>> - http://orgmode.org/manual/ASCII_002fLatin_002d1_002fUTF_002d8-export.html#ASCII_002fLatin_002d1_002fUTF_002d8-export
>> 
>> Perhaps you could just export that to a buffer and then save as *.org
>> instead of the default export format of .txt?
>
> I think the ascii export does not produce a file in Org format.
>
> The old exporter function org-export-as-org may do the trick for Steve.
>
> I too find it useful to export to org, and would love to see this implemented
> in the new exporter.  I rely on this together with the SELECT_TAGS and
> EXCLUDE_TAGS keywords to create an Org file with a subset of the headings, not
> just a subtree.  Is there a new exporter function that does this?

There's an org back-end for the new export framework (see ox-org.el). It
doesn't provide any interactive function, though.

Anyway, it's possible to (require 'ox-org) and (org-export-to-file 'org
"my-file.org").


Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2013-04-04 12:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-03 17:35 Export a Subtree to an other .org file Steve Prud'Homme
2013-04-03 18:36 ` Bastien
2013-04-03 19:31   ` Steve Prud'Homme
2013-04-03 20:35     ` John Hendy
2013-04-03 21:36       ` Hsiu-Khuern Tang
2013-04-03 22:50         ` John Hendy
2013-04-04 12:19         ` Nicolas Goaziou [this message]
2013-04-04 12:23           ` Bastien
2013-04-04 13:10             ` Nicolas Goaziou
2013-04-04 13:13               ` Bastien
2013-04-04 18:40                 ` Hsiu-Khuern Tang
2013-04-05 23:58               ` Hsiu-Khuern Tang

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=874nfmzdwl.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tangoh@gmail.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).