From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: group checklist toggle (post-summer-break feature request) Date: Thu, 29 Jun 2006 12:43:52 +0200 Message-ID: <062c0196533ed5aed2a5e9e260aa1497@science.uva.nl> References: <44A2AC87.1010208@sharpleaf.org> <44A2AE77.1040707@u.washington.edu> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fvu00-0007Th-Si for emacs-orgmode@gnu.org; Thu, 29 Jun 2006 06:43:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fvu00-0007TD-4W for Emacs-orgmode@gnu.org; Thu, 29 Jun 2006 06:43:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvu00-0007T6-0D for Emacs-orgmode@gnu.org; Thu, 29 Jun 2006 06:43:52 -0400 Received: from [66.249.92.174] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FvuCW-0001gw-SU for Emacs-orgmode@gnu.org; Thu, 29 Jun 2006 06:56:49 -0400 Received: by ug-out-1314.google.com with SMTP id y2so270736uge for ; Thu, 29 Jun 2006 03:43:51 -0700 (PDT) In-Reply-To: <44A2AE77.1040707@u.washington.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Scott Otterson Cc: Emacs-orgmode@gnu.org 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