From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Export a Subtree to an other .org file Date: Thu, 04 Apr 2013 14:19:38 +0200 Message-ID: <874nfmzdwl.fsf@gmail.com> References: <048901ce3091$97eb1440$c7c13cc0$@gmail.com> <87ppybh35m.fsf@bzg.ath.cx> <04ef01ce30a1$cae9a220$60bce660$@gmail.com> <20130403213639.GA31923@localhost> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNj8x-000694-NU for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNj8q-0002yh-P7 for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:19:51 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:33468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNj8q-0002yb-Ig for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:19:44 -0400 Received: by mail-wg0-f41.google.com with SMTP id y10so625849wgg.2 for ; Thu, 04 Apr 2013 05:19:43 -0700 (PDT) In-Reply-To: <20130403213639.GA31923@localhost> (Hsiu-Khuern Tang's message of "Wed, 3 Apr 2013 14:36:41 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hsiu-Khuern Tang Cc: emacs-orgmode@gnu.org Hello, Hsiu-Khuern Tang 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 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