From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerald Wildgruber Subject: Re: Cookies on check-boxed plain lists don't get updated Date: Tue, 11 Aug 2015 11:40:45 +0200 Message-ID: <87zj1yupr6.fsf@unibas.ch> References: <877fp3b94c.fsf@unibas.ch> <87k2t3i7ie.fsf@gmx.us> <87614ncg6p.fsf@unibas.ch> <8737zqess2.fsf@nicolasgoaziou.fr> <87oaieyzg0.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP63A-0001vB-D1 for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 05:40:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZP636-0004B9-8q for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 05:40:52 -0400 Received: from mx1-priv.urz.unibas.ch ([131.152.226.164]:58846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP636-00048a-2a for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 05:40:48 -0400 In-reply-to: <87oaieyzg0.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode@gnu.org On Di, Aug 11 2015, Rasmus wrote: > Gerald Wildgruber writes: >> 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 You are right: the default setting of this variable is "t", meaning to count only direct children; I just checked on a clean emacs install under linux. I have to verify again what is different on my OSX machine where I tried it out earlier. I don't get the errors on either machine though. Gerald.