[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] killing all contents of a headline
From: |
Daimrod |
Subject: |
Re: [O] killing all contents of a headline |
Date: |
Tue, 19 Feb 2013 12:13:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
42 147 <address@hidden> writes:
> Title is self-explanatory. Is there a command that lets me place the
> cursor on a headline and delete its contents (i.e., all of its text)?
I don't think know if this command exists, but, assuming your cursor
is on the headline you can:
1. copy the title (C-a C-c SPC C-e M-w)
2. cut the subtree (C-c C-x C-w)
3. paste the previously copied headline C-y M-y
If you find yourself doing this very often you could put it in a
keyboardmacro.
--
Daimrod/Greg
pgp6aV1MJzXrZ.pgp
Description: PGP signature