From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Export subtrees of level n Date: Sun, 03 Sep 2017 10:12:37 +0200 Message-ID: <87a82cmc96.fsf@nicolasgoaziou.fr> References: <8737846w8s.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doQ1M-00089y-Vp for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doQ1I-00058M-Dl for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:12:44 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:54910) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doQ1I-00057R-7f for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:12:40 -0400 In-Reply-To: <8737846w8s.fsf@luisa.c0t0d0s0.de> (Michael Welle's message of "Sun, 03 Sep 2017 10:07:31 +0200") 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" To: Michael Welle Cc: emacs-orgmode@gnu.org Hello, Michael Welle writes: > imagine the following document structure: > > * talk1 > * talk2 > ** foo > ** bar > ** foobaz > > > Now the point is in section foobaz and I want to export the subtree > talk2. C-c C-e C-s doesn't do exactly what I want. I can move the point > up to * talk2, export the subtree and then move the point back. Note that subsequent C-u C-c C-e will re-use the same subtree. > Is there an existing way to say that I want to go up to a level n > heading and then export, or do I have to implement that by myself? The latter, if you want to have this right from the start (and not from the second call) Regards, -- Nicolas Goaziou