emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Bug] Lists with checkboxes
@ 2010-12-14 18:20 Achim Gratz
  2010-12-17 13:50 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Achim Gratz @ 2010-12-14 18:20 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bug] Lists with checkboxes
  2010-12-14 18:20 [Bug] Lists with checkboxes Achim Gratz
@ 2010-12-17 13:50 ` Nicolas Goaziou
  2010-12-20 19:39   ` Achim Gratz
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2010-12-17 13:50 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hello,

>>>>> Achim Gratz writes:

> 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.

You are right. I'm working on it. For now, you can put a counter
wherever you want to have the old, and right, behaviour. In your
example, adding [/] to items "Second" and "Third" would do it.

Regards,

-- Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bug] Lists with checkboxes
  2010-12-17 13:50 ` Nicolas Goaziou
@ 2010-12-20 19:39   ` Achim Gratz
  0 siblings, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2010-12-20 19:39 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:
> You are right. I'm working on it. For now, you can put a counter
> wherever you want to have the old, and right, behaviour. In your
> example, adding [/] to items "Second" and "Third" would do it.

Thanks for looking into this - and take your time.  I won't need this
feature very often in the next few weeks and if really necessary I can
easily revert back to 7.01h.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-20 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14 18:20 [Bug] Lists with checkboxes Achim Gratz
2010-12-17 13:50 ` Nicolas Goaziou
2010-12-20 19:39   ` Achim Gratz

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).