emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* emptying all headlines
@ 2015-01-01 18:14 42 147
  2015-01-01 18:34 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: 42 147 @ 2015-01-01 18:14 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 546 bytes --]

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

* Re: emptying all headlines
  2015-01-01 18:14 emptying all headlines 42 147
@ 2015-01-01 18:34 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-01-01 18:34 UTC (permalink / raw)
  To: 42 147; +Cc: Org Mode

Hello,

42 147 <aeuster@gmail.com> writes:

> 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:

See `org-copy-visible'.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2015-01-01 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-01 18:14 emptying all headlines 42 147
2015-01-01 18:34 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).