Re: [O] Export subtrees of level n

2017-09-03 Thread Michael Welle
Hello, Joon Ro writes: >> 2. Write a function to look up the tree from point and export the first >> subtree with a certain property. > I thought about implementing the second approach. I have slides for > several talks in the same org file. Since I mostly need this >

Re: [O] Export subtrees of level n

2017-09-03 Thread Joon Ro
> 2. Write a function to look up the tree from point and export the first > subtree with a certain property. I thought about implementing the second approach. I have slides for several talks in the same org file. Since I mostly need this functionality when I'm developing slides, just going up

Re: [O] Export subtrees of level n

2017-09-03 Thread Michael Welle
Hello, Adam Porter writes: > Michael Welle writes: > >> 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? > > I think you'll have to do it yourself. Here are a couple

Re: [O] Export subtrees of level n

2017-09-03 Thread Michael Welle
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 >>

Re: [O] Export subtrees of level n

2017-09-03 Thread Adam Porter
Michael Welle writes: > 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? I think you'll have to do it yourself. Here are a couple of ideas: 1. Write a function to export a subtree with a

Re: [O] Export subtrees of level n

2017-09-03 Thread Nicolas Goaziou
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 >

[O] Export subtrees of level n

2017-09-03 Thread Michael Welle
Hello, 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.