all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* group checklist toggle (post-summer-break feature request)
       [not found] <44A2AC87.1010208@sharpleaf.org>
@ 2006-06-28 16:29 ` Scott Otterson
  2006-06-28 22:33   ` Carsten Dominik
  2006-06-29 10:43   ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Scott Otterson @ 2006-06-28 16:29 UTC (permalink / raw)
  To: Emacs-orgmode

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.

Thanks for all the great work,

Scott

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

* Re: group checklist toggle (post-summer-break feature request)
  2006-06-28 16:29 ` group checklist toggle (post-summer-break feature request) Scott Otterson
@ 2006-06-28 22:33   ` Carsten Dominik
  2006-06-29 10:43   ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2006-06-28 22:33 UTC (permalink / raw)
  To: Scott Otterson; +Cc: Emacs-orgmode

Would you like to *toggle* them all, or rather to toggle the first
and set all the remaining one to the same state as the first one?
It seems to me that the second option is much better.

- Carsten

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.
>
> Thanks for all the great work,
>
> Scott
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: group checklist toggle (post-summer-break feature request)
  2006-06-28 16:29 ` group checklist toggle (post-summer-break feature request) Scott Otterson
  2006-06-28 22:33   ` Carsten Dominik
@ 2006-06-29 10:43   ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2006-06-29 10:43 UTC (permalink / raw)
  To: Scott Otterson; +Cc: Emacs-orgmode


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

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

end of thread, other threads:[~2006-06-29 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <44A2AC87.1010208@sharpleaf.org>
2006-06-28 16:29 ` group checklist toggle (post-summer-break feature request) Scott Otterson
2006-06-28 22:33   ` Carsten Dominik
2006-06-29 10:43   ` Carsten Dominik

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.