emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: [Bug] Lists with checkboxes
Date: Tue, 14 Dec 2010 19:20:05 +0100	[thread overview]
Message-ID: <87zks843oq.fsf@Rainer.invalid> (raw)


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

             reply	other threads:[~2010-12-14 18:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 18:20 Achim Gratz [this message]
2010-12-17 13:50 ` [Bug] Lists with checkboxes Nicolas Goaziou
2010-12-20 19:39   ` Achim Gratz

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=87zks843oq.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    /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).