From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: Export subtrees of level n Date: Sun, 03 Sep 2017 10:18:26 +0200 Message-ID: <87k21g5h65.fsf@luisa.c0t0d0s0.de> References: <8737846w8s.fsf@luisa.c0t0d0s0.de> <87a82cmc96.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doQ72-0002pJ-Jv for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doQ6x-000085-QF for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:18:36 -0400 Received: from mout.gmx.net ([212.227.15.15]:50262) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doQ6x-00007Z-Gd for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 04:18:31 -0400 Received: from stella.c0t0d0s0.de ([2.247.240.87]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Md3Eg-1e5XFv0jZK-00IFBr for ; Sun, 03 Sep 2017 10:18:29 +0200 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 4F6E0C406A for ; Sun, 3 Sep 2017 10:18:26 +0200 (CEST) In-Reply-To: <87a82cmc96.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 03 Sep 2017 10:12:37 +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: emacs-orgmode@gnu.org Hello, Nicolas Goaziou writes: > 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. ah, learned something new here. >> 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) I think, I will stick with this, because even if I use C-u C-c C-e I will forget to move up to the right heading the first time I use it ;). Regards hmw