From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Checklist bug in version 7.9.3a Date: Mon, 14 Jan 2013 20:24:50 +0100 Message-ID: <87txqjftz1.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tupep-0003Ra-U7 for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 14:25:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tupeo-0007p6-J5 for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 14:25:19 -0500 Received: from mail-wg0-f44.google.com ([74.125.82.44]:50333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tupeo-0007os-DI for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 14:25:18 -0500 Received: by mail-wg0-f44.google.com with SMTP id dr12so2169123wgb.11 for ; Mon, 14 Jan 2013 11:25:17 -0800 (PST) In-Reply-To: (Robert Horn's message of "Mon, 14 Jan 2013 10:35:54 -0500") 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: Robert Horn Cc: Org-mode Hello, Robert Horn writes: > There is a bug in checklist handling. The following list will show the problem. > > 1. [ ] Use Cases > 2. [ ] Threat Model > 3. [ ] ITI Wiki > 4. [ ] Maynard stuff > 5. [ ] Annual Transition > - wiki changes > - ftp changes > > Context: > > Org-mode version 7.9.3a (release_7.9.3a @ /home/hornrj/.emacs.d/src/org-mode/lisp/) > > Git commit 4cac751536e9e75f822fae18d75de6df694c8f6f > > GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-11-08 on lakoocha, modified by Debian > > How to reproduce: > > If you go to the first line in the list of check boxes, line "Use Cases", and use "C-u C-u C-c C-c", it will set all of the checkboxes in the list to partial "[-]". If you try it again you get the error "user-error: Cannot toggle this checkbox (uncheccked subitems?)". If the checkbox has an "[X]" for complete, "C-u C-u C-c C-c" will also set the entire list to partial. > > This only occurs for the first item on a checkbox list. "C-u C-u C-c C-c" behaves properly for all the other items. > > I suspect a context confusion, since the bulk change to "[-]" also changes the indent level for the two non-checkbox items in the list below item 5. Calling C-c C-c with an argument on the first item of a list or sub-list will apply the change on every item in the list. It looks consistent with what you get. What did you expect instead ? Regards, -- Nicolas Goaziou