emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Emacs-orgmode] group checklist toggle (post-summer-break feature re


From: Carsten Dominik
Subject: Re: [Emacs-orgmode] group checklist toggle (post-summer-break feature request)
Date: Thu, 29 Jun 2006 12:43:52 +0200


On Jun 28, 2006, at 18:29, Scott Otterson wrote:

At first, I wasn't sure I'd use the new '[X]' checklists, but now I've got them sprinkled all over my .org files -- they're especially handy for multi-step tasks which are done repeatedly. When I repeat a multi-step task I've done before, one of the first things I do is to uncheck all of the [X]'s. So, I'd like C-c C-c to toggle all of the [X]'s within a selected region, similar to the way you can now indent or unindent selected region headlines. Toggling all of the checks under a headline might also be useful, but maybe less so.

This was easy, so I did it for 4.41.

You asked for C-c C-c to do this and this is possible, but only
if the cursor is in a line with a checkbox - in other lines,
C-c C-c has other duties.  So in order to do the region toggle
with C-c C-c, you need to select the other way round:  Mark
after the last line to include, point *in* the first line to include.

I am providing an additional key for checkbox toggling: C-c C-x C-b
With this key, you don't need to do the above trick when selecting
the region.  C-c C-x C-b works also in a headline and toggles all
boxes below the headline.  See the rewritten section about checkboxes
in the manual.

I decided to only toggle the first box and pull all the other boxes
to the same state as the first.  If you truly want to toggle the
selected boxes independently, use a prefix argument with the
command (either `C-u C-c C-c'   or   `C-u C-c C-x C-b').

- Carsten





reply via email to

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