emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] emptying all headlines


From: 42 147
Subject: [O] emptying all headlines
Date: Thu, 1 Jan 2015 19:14:04 +0100

I'm looking for a way to copy only the headlines and sub-headlines, etc., in
org-mode, without any of the text that had been folded into them. Thus:

/* Bach.

[commentary]

/** Well-Tempered Clavier.

[commentary]

/*** Book I.

[commentary]

/**** Prelude in C Major.

[commentary]

Would become:

/* Bach.
/** Well-Tempered Clavier.
/*** Book I.
/**** Prelude in C Major.

In other words: a way to empty all the headlines in a buffer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]