emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Robert Horn <rjhorn@alum.mit.edu>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Checklist bug in version 7.9.3a
Date: Mon, 14 Jan 2013 20:24:50 +0100	[thread overview]
Message-ID: <87txqjftz1.fsf@gmail.com> (raw)
In-Reply-To: <m3sj63rd45.fsf@quad.robs.office> (Robert Horn's message of "Mon, 14 Jan 2013 10:35:54 -0500")

Hello,

Robert Horn <rjhorn@alum.mit.edu> 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

  reply	other threads:[~2013-01-14 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 15:35 Checklist bug in version 7.9.3a Robert Horn
2013-01-14 19:24 ` Nicolas Goaziou [this message]
2013-01-14 23:27   ` Robert Horn
2013-01-22 14:22 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txqjftz1.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rjhorn@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).