Re: [O] killing all contents of a headline

2013-02-19 Thread 42 147
Thanks, the update worked, however with some post-update oddities: org-hide-leading stars t hides the stars -- but only if I manually switch from the Emacs default color theme to my favorite one (color-theme-renegade). If I leave (color-theme-renegade) in my init, on boot-up, org-mode does not hid

Re: [O] killing all contents of a headline

2013-02-19 Thread Suvayu Ali
On Tue, Feb 19, 2013 at 11:40:31AM -0500, 42 147 wrote: > The @ replacement is also a sensible idea -- can either of you send me > the source code for this? Or how would I update my org-mode to include > it? Take a look at the following FAQ and the two after:

Re: [O] killing all contents of a headline

2013-02-19 Thread Bastien
Hi John, 42 147 writes: > The @ replacement is also a sensible idea -- can either of you send > me the source code for this? Or how would I update my org-mode to > include it? If you want to use Org development branch, simply clone and build: ~$ git clone git://orgmode.org/org-mode.git ~$ cd o

Re: [O] killing all contents of a headline

2013-02-19 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > Yes that would be good. To save you some work, I attached a patch. Applied, thanks a lot! -- Bastien

Re: [O] killing all contents of a headline

2013-02-19 Thread 42 147
Suvayu Ali writes: >> to be consistent with the "C-c @" command. > > Yes that would be good. To save you some work, I attached a patch. > Precisely what I was looking for. I'm always up for macro creation, but I didn't want to do so if a command already existed. Always looking to expand my org-

Re: [O] killing all contents of a headline

2013-02-19 Thread Suvayu Ali
On Tue, Feb 19, 2013 at 01:09:30PM +0100, Bastien wrote: > When using speedy commands (setq org-use-speed-commands t) > > . C-w > > at the beginning of a headline. > > I'm willing to update the "." speedy command and use "@" instead > to be consistent with the "C-c @" command. Yes that would b

Re: [O] killing all contents of a headline

2013-02-19 Thread Bastien
42 147 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)? C-c @ C-w When using speedy commands (setq org-use-speed-commands t) . C-w at the beginning of a headline. I'm willing to update the

Re: [O] killing all contents of a headline

2013-02-19 Thread Marcel van der Boom
On Tue 19-Feb-2013 06:01 42 147 wrote: > 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)? If you have the subtree collapsed and with your point on the heading, 'org-kill-line' kills the heading plus the

Re: [O] killing all contents of a headline

2013-02-19 Thread Daimrod
42 147 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