From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Cookies on check-boxed plain lists don't get updated Date: Tue, 11 Aug 2015 10:57:51 +0200 Message-ID: <87oaieyzg0.fsf@gmx.us> References: <877fp3b94c.fsf@unibas.ch> <87k2t3i7ie.fsf@gmx.us> <87614ncg6p.fsf@unibas.ch> <8737zqess2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP5Nm-0007fX-Nj for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 04:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZP5Ni-0008Cc-Kl for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 04:58:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:37406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP5Ni-0008A8-Ec for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 04:58:02 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZP5Ng-0005wM-Ll for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 10:58:00 +0200 Received: from ip5b4025d5.dynamic.kabel-deutschland.de ([91.64.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2015 10:58:00 +0200 Received: from rasmus by ip5b4025d5.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2015 10:58:00 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Gerald Wildgruber writes: > Hi Nicolas, > > thanks for the fix! The sub list cookie does get updated now, perfect! > > > Yet, check out this example from p.57 of the Org Manual (ch. "Checkboxes"): > > * TODO Organize party [2/4] > - [-] call people [1/3] > - [ ] Peter > - [X] Sarah > - [ ] Sam > - [X] order food > - [ ] think about what music to play > - [X] talk to the neighbors > > With the new code now this gives: > > * TODO Organize party [3/7] > - [-] call people [1/3] > - [ ] Peter > - [X] Sarah > - [ ] Sam > - [X] order food > - [ ] think about what music to play > - [X] talk to the neighbors >From a clean Emacs, I get the first desired behavior. I also got a couple of errors: org-update-checkbox-count: Invalid search bound (wrong side of point) but I cannot seem to reproduce this consistently. One time I had two "[/]" boxes. Rasmus -- When the facts change, I change my mind. What do you do, sir?