all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-mode questions
@ 2015-08-23  0:55 Colin Yates
  2015-08-23  2:07 ` Eric Abrahamsen
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Yates @ 2015-08-23  0:55 UTC (permalink / raw)
  To: Emacs Help

Hi, (newbie warning)

I am about to embark on some extensive writing (in Markdown) and
org-mode might be just the ticket for this. I particularly like the idea
of narrowing, which I understand the markdown mode doesn't offer.

I envisage my .org file having the following structure:

 * resources
 * reviews
 ** review 1
 ** ...
 ** review n
 * release
 ** Chapter 1
 ** ..
 ** Chapter n

The actual 'contents' being under 'release'.

What I want is to effectively say to org "copy everything under
'release', promote them all to top level headings and then export them
all as markdown.

I can do this manually with killing and yanking, and if I scratch my
head a bit (till it bleeds actually) then I expect I could even do this
in a function.

However, either this is a really common use-case in which I expect I am
missing something in org-mode _or_ this is a weird use-case in which
case I don't want to start and would rather be more idiomatic.

Any thoughts/guidance welcome!

Thanks,

Colin

Sent with my mu4e



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-mode questions
  2015-08-23  0:55 org-mode questions Colin Yates
@ 2015-08-23  2:07 ` Eric Abrahamsen
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Abrahamsen @ 2015-08-23  2:07 UTC (permalink / raw)
  To: help-gnu-emacs

Colin Yates <colin.yates@gmail.com> writes:

> Hi, (newbie warning)
>
> I am about to embark on some extensive writing (in Markdown) and
> org-mode might be just the ticket for this. I particularly like the idea
> of narrowing, which I understand the markdown mode doesn't offer.
>
> I envisage my .org file having the following structure:
>
>  * resources
>  * reviews
>  ** review 1
>  ** ...
>  ** review n
>  * release
>  ** Chapter 1
>  ** ..
>  ** Chapter n
>
> The actual 'contents' being under 'release'.
>
> What I want is to effectively say to org "copy everything under
> 'release', promote them all to top level headings and then export them
> all as markdown.

The easiest thing to do will probably be to put point on "release",
start the export dispatcher, and hit "C-s" once to change the "Export
scope" to subtree. If all the contents you want are under "release",
that ought to do it. 

Another approach would be removing the subtrees you don't want, using
the "noexport" tag. But that wouldn't promote the "release" subtree to
top-level.

Hope that helps! If you're likely to have more questions, there is an
org-specific mailing list at gmane.emacs.orgmode.

Yours,
Eric

> I can do this manually with killing and yanking, and if I scratch my
> head a bit (till it bleeds actually) then I expect I could even do this
> in a function.
>
> However, either this is a really common use-case in which I expect I am
> missing something in org-mode _or_ this is a weird use-case in which
> case I don't want to start and would rather be more idiomatic.
>
> Any thoughts/guidance welcome!
>
> Thanks,
>
> Colin
>
> Sent with my mu4e




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-23  2:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-23  0:55 org-mode questions Colin Yates
2015-08-23  2:07 ` Eric Abrahamsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.