From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: [Bug] Lists with checkboxes Date: Tue, 14 Dec 2010 19:20:05 +0100 Message-ID: <87zks843oq.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49277 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSZU6-0005mu-0A for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 13:20:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSZU4-0006NX-Bu for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 13:20:21 -0500 Received: from lo.gmane.org ([80.91.229.12]:36401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSZU4-0006NJ-6L for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 13:20:20 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PSZU3-00007c-H8 for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 19:20:19 +0100 Received: from p57aadfba.dip.t-dialin.net ([87.170.223.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Dec 2010 19:20:19 +0100 Received: from Stromeko by p57aadfba.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Dec 2010 19:20:19 +0100 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: emacs-orgmode@gnu.org Today I have updated org-mode at work and promptly ran into a regression introduced between 7.01h and 7.02... Lists with checkboxes don't work anymore like they are supposed to, the sub-checkboxes are not taken into account anymore and you can check list items that still have some of their children unchecked. The progress indicator in the heading still takes the first level of lists into account correctly. Below is a test with a "good" version. * [1/3] List Checkbox Test - [ ] First + [ ] Sub1 + [ ] Sub2 + [ ] Sub3 - [-] Second + [ ] Sub1 + [X] Sub2 + [ ] Sub3 - [X] Third + [X] Sub1 + [X] Sub2 + [X] Sub3 With the bad version you can do things like this: * [2/3] List Checkbox Test - [X] First + [ ] Sub1 + [ ] Sub2 + [ ] Sub3 - [ ] Second + [X] Sub1 + [X] Sub2 + [ ] Sub3 - [X] Third + [ ] Sub1 + [ ] Sub2 + [ ] Sub3 The first bad commit is [045e3aea280da14a4db36d7b81d959efde4b593a] Fix checkbox statistics by Nicolas. Emacs 23.2 at work, 23.1 at home, same behaviour on both. I hope this is an easy fix... I do use that feature quite a bit, but really like to get some of the fixes that have happened inbetween. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada