emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]
@ 2011-06-20 11:25 Paul Mead
  2011-06-20 15:32 ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Mead @ 2011-06-20 11:25 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

If I run the above command, the state of all the checkboxes is updated
correctly, but the cookies do not update, instead they retain the
previous state. 

Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0)
 of 2009-09-27 on palmer, modified by Debian
Package: Org-mode version 7.5 (release_7.5.280.ga6e9)

current state:
==============
(setq
 org-log-done t
 org-export-preprocess-before-backend-specifics-hook '(org-inlinetask-export-handler)
 org-clock-in-switch-to-state 'bh/clock-in-to-next
 org-archive-default-command 'org-archive-to-archive-sibling
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-special-ctrl-a/e t
 org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 3 :fileskip0 t :indent t)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-agenda-custom-commands '(("w" "Tasks waiting on something" tags "WAITING/!"
                               ((org-use-tag-inheritance nil)
                                (org-agenda-todo-ignore-scheduled nil)
                                (org-agenda-todo-ignore-deadlines nil)
                                (org-agenda-todo-ignore-with-date nil)
                                (org-agenda-overriding-header "Waiting Tasks"))
                               )
                              ("r" "Refile New Notes and Tasks" tags "LEVEL=2+REFILE"
                               ((org-agenda-todo-ignore-with-date nil)
                                (org-agenda-todo-ignore-deadlines nil)
                                (org-agenda-todo-ignore-scheduled nil)
                                (org-agenda-overriding-header "Tasks to Refile"))
                               )
                              ("i" "Invoicing" tags "invoicing-DONE/CANCELLED"
                               ((org-agenda-overriding-header "Invoicing")))
                              ("N" "Notes" tags "NOTE"
                               ((org-agenda-overriding-header "Notes")))
                              ("n" "Next" tags-todo "-WAITING-CANCELLED/!NEXT"
                               ((org-agenda-overriding-header "Next Tasks")))
                              ("p" "Projects" tags "project"
                               ((org-agenda-overriding-header "Projects")))
                              ("f" "Focus areas" tags "FOCUS"
                               ((org-use-tag-inheritance nil)
                                (org-agenda-overriding-header "Focus areas"))
                               )
                              ("s" "Someday / maybe" tags "SOMEDAY"
                               ((org-use-tag-inheritance nil)
                                (org-agenda-overriding-header "Someday / Maybe"))
                               )
                              ("v" . "Vendor task lists")
                              ("vb" "BT tasks" tags-todo "BT-project/-DONE-CANCELLED"
                               nil)
                              ("vo" "Orange tasks" tags-todo
                               "Orange-project/-DONE-CANCELLED" nil)
                              ("g" . "Agendas")
                              ("gp" "Paul Jolley" tags-todo
                               "@PaulJolley/-DONE-CANCELLED")
                              ("A" "Tasks to be Archived" tags
                               "LEVEL=2-REFILE/DONE|CANCELLED"
                               ((org-agenda-overriding-header "Tasks to Archive")))
                              )
 org-agenda-files '("~/Dropbox/gtd/checklists/weeklyreview.org"
                    "~/Dropbox/gtd/projects/Orange mobile transition 2011.org"
                    "~/Dropbox/gtd/projects/Work management system.org"
                    "~/Dropbox/gtd/admin.org" "~/Dropbox/gtd/agendas.org"
                    "~/Dropbox/gtd/projects/intelligent comms.org"
                    "~/Dropbox/gtd/finance.org" "~/Dropbox/gtd/fixed.org"
                    "~/Dropbox/gtd/mobile.org" "~/Dropbox/gtd/Conferencing.org"
                    "~/Dropbox/gtd/personal.org" "~/Dropbox/gtd/refile.org"
                    "~/Dropbox/gtd/notes.org" "~/Dropbox/gtd/gtd.org"
                    "~/Dropbox/gtd/dates.org" "~/Dropbox/gtd/invoicing.org")
 org-agenda-include-diary t
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-agenda-tags-column 130
 org-agenda-window-setup 'current-window
 org-hide-leading-stars t
 org-clock-into-drawer "CLOCK"
 org-gnus-prefer-web-links t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-agenda-skip-timestamp-if-done t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-read-date-prefer-future nil
 org-agenda-todo-ignore-scheduled 'all
 org-clock-history-length 28
 org-agenda-skip-unavailable-files t
 org-goto-interface 'outline-path-completion
 org-capture-after-finalize-hook '(my-org-capture-other-frame-cleanup)
 org-agenda-start-with-log-mode t
 org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t))
                                ("WAITING" ("WAITING" . t))
                                ("SOMEDAY" ("SOMEDAY" . t))
                                (done ("WAITING") ("SOMEDAY"))
                                ("TODO" ("WAITING") ("CANCELLED") ("SOMEDAY"))
                                ("NEXT" ("WAITING") ("SOMEDAY"))
                                ("SOMEDAY" ("WAITING"))
                                ("DONE" ("WAITING") ("CANCELLED") ("SOMEDAY")))
 org-special-ctrl-k t
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-agenda-prefix-format '((agenda . "  %-25:c%?-15t% s") (timeline . "  % s")
                            (todo . "  %-20:c") (tags . "  %-20:c")
                            (search . "  %-20:c"))
 org-agenda-todo-keyword-format "%-10s"
 org-habit-preceding-days 32
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-agenda-skip-scheduled-if-done t
 org-stuck-projects '("project-someday/-DONE" ("NEXT" "WAITING") ("") "")
 org-link-file-path-type 'absolute
 org-log-redeadline 'time
 org-clock-in-resume t
 org-tags-exclude-from-inheritance '("project")
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
                      org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-clock-persist 'history
 org-todo-keywords '((sequence "TODO(t!)" "NEXT(n!)" "|" "DONE(d!/!)")
                     (sequence "WAITING(w@/!)" "SOMEDAY(s!)" "|" "CANCELLED(x@/!)"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-M-RET-may-split-line '((default))
 org-default-notes-file "~/Dropbox/gtd/notes.org"
 org-directory "~/Dropbox/gtd"
 org-log-reschedule 'time
 org-tag-alist '((:startgroup) ("phone" . 116) ("online" . 119) ("pc" . 99)
                 ("reading" . 114) ("penpaper" . 112) ("office" . 111) ("home" . 104)
                 ("errand" . 101) ("project" . 80) (:endgroup) ("FOCUS" . 70)
                 (:startgroup) ("WAITING" . 87) ("CANCELLED" . 88) ("SOMEDAY" . 83)
                 (:endgroup))
 org-blank-before-new-entry '((heading) (plain-list-item))
 org-habit-graph-column 60
 org-log-refile 'time
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-refile-use-cache t
 org-agenda-tags-todo-honor-ignore-options t
 org-use-speed-commands t
 org-mode-hook '((lambda nil (make-variable-buffer-local (quote yas/trigger-key))
                  (setq yas/trigger-key [tab])
                  (define-key yas/keymap [tab] (quote yas/next-field-group)))
                 (lambda nil (local-set-key "\356" (quote outline-forward-same-level))
                  (local-set-key "\360" (quote outline-backward-same-level)))
                 turn-on-auto-fill turn-on-font-lock org-clock-load
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append
                    local]
                   5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-result-all
                    append local]
                   5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-clock-out-remove-zero-time-clocks t
 org-font-lock-hook '(org-inlinetask-fontify)
 org-agenda-ndays 1
 org-global-properties '(("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 4:00"))
 org-refile-targets '(("dates/dates.org" :maxlevel . 2) ("someday.org" :maxlevel . 1)
                      (org-agenda-files :maxlevel . 4))
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-return-follows-link t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-refile-use-outline-path 'file
 org-agenda-skip-deadline-prewarning-if-scheduled t
 org-log-into-drawer t
 org-agenda-start-on-weekday nil
 org-export-interblocks '((lob org-babel-exp-lob-one-liners)
                          (src org-babel-exp-inline-src-blocks))
 org-clock-out-hook '(bh/remove-empty-drawer-on-clock-out)
 org-enforce-todo-dependencies t
 org-agenda-skip-deadline-if-done t
 org-reverse-note-order t
 org-refile-allow-creating-parent-nodes 'confirm
 org-occur-hook '(org-first-headline-recenter)
 org-drawers '("PROPERTIES" "LOGBOOK" "CLOCK")
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-agenda-log-mode-items '(clock)
 org-treat-S-cursor-todo-selection-as-state-change nil
 org-tags-column 130
 org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo org-habit
               org-inlinetask org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m)
 org-clock-report-include-clocking-task t
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                               org-beamer-auto-fragile-frames
                               org-beamer-place-default-actions-for-lists)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-block nil)
                     (comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil)
                     (dot org-export-blocks-format-dot nil))
 )

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

* Re: Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]
  2011-06-20 11:25 Paul Mead
@ 2011-06-20 15:32 ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2011-06-20 15:32 UTC (permalink / raw)
  To: Paul Mead; +Cc: emacs-orgmode

Hello,

Paul Mead <paul.d.mead@gmail.com> writes:

> If I run the above command, the state of all the checkboxes is updated
> correctly, but the cookies do not update, instead they retain the
> previous state. 

I cannot reproduce the problem. Could you try upgrading to git head,
and, if the bug persists, post a sample file to reproduce the problem ?

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]
@ 2011-06-20 16:25 Paul Mead
  2011-06-20 18:57 ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Mead @ 2011-06-20 16:25 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Paul Mead <paul.d.mead@gmail.com> writes:
>
>> If I run the above command, the state of all the checkboxes is updated
>> correctly, but the cookies do not update, instead they retain the
>> previous state. 
>
> I cannot reproduce the problem. Could you try upgrading to git head,
> and, if the bug persists, post a sample file to reproduce the problem ?
>
> Regards,

Right, just updated, so my org version is reported as Org-mode version
7.5 (release_7.5.419.g9a527)

The problem persists with the following subtree:

* The Weekly Review
:PROPERTIES:
:VISIBILITY: children
:END:
*** Loose Papers [6/6]
- Gather all scraps of paper, business cards, receipts, and
  miscellaneous paper. Put into your in-basket to process.
- [ ] Empty out backpack. Put relevant items into intray.
- [ ] Remove loose stuff from desk
- [ ] Empty wallet and moleskine pocket of receipts and paper
- [ ] Empty inbox folder
- [ ] Process everything in inbox
- [ ] Empty email inbox creating NAs as required
*** Process Your Notes [3/3]
- Review any journal/notes types of entries, meeting notes, and
  miscellaneous notes scribbled on notebook paper. Decide and enter
  action items, projects, waiting-fors, etc., as appropriate.
- [ ] Review moleskine notes
- [ ] Review A4 pad
- [ ] Review service review minutes
*** Empty Your Head [1/1]
- Put in writing (in appropriate categories) any new projects, action
  items, waiting-fors, someday/maybes, etc., not yet captured.
- [ ] Empty your head
*** Review Action Lists [1/1]
- [ ] Mark off completed actions. 
- Review for reminders of further action
  steps to record.
*** Review Waiting-For List [1/1]
- Record appropriate actions for any needed follow-up. Check off
  received ones.
- [ ] Review TODO items in Waiting State  C-c a w

*** Review Project (and Larger Outcome) Lists [3/3]
- Evaluate status of projects, goals and outcomes, one by one,
  ensuring at least one current action item on each. Browse through
  work-in-progress support material to trigger new actions,
  completions, waiting-fors, etc.
- [ ] Check stuck projects (C-c a #)
- [ ] Review Project List  (C-c a p)
- [ ] Review contents of capture.org file   (C-c i)

*** Review Previous Calendar Data [1/1]
- [ ] Review past calendar in detail for remaining action items, reference
  data, etc., and transfer into the active system.

*** Review Upcoming Calendar [1/1]
- [ ] Review upcoming calendar events-long and short term. Capture actions
  triggered.

*** Review Any Relevant Checklists [1/1]
- Use as a trigger for any new actions. 
- Review Someday/Maybe List
- Review for any projects that may now have become active, and
  transfer to projects list. Delete items no longer of interest.
- [ ] Review my [[file:~/Dropbox/gtd/someday.org][Someday/Maybe]] list
*** Be Creative and Courageous [1/1]
- Any new, wonderful, harebrained, creative, thought-provoking,
  risk-taking ideas to add into your system???
- [ ] Capture Todo items (C-c r t) or Someday (C-c r s)


Regards
Paul

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

* Re: Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]
  2011-06-20 16:25 Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)] Paul Mead
@ 2011-06-20 18:57 ` Achim Gratz
  2011-06-20 20:04   ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2011-06-20 18:57 UTC (permalink / raw)
  To: emacs-orgmode


I'm not sure if org-reset-checkbox-state-subtree is supposed to update
the cookies, although that would seem logical.

However, C-u C-c # will incorrectly accumulate the checkbox entries from
previous sections when updating the file, which is clearly a bug:

*** Loose Papers [0/6]…
*** Process Your Notes [0/9]…
*** Empty Your Head [0/10]…
*** Review Action Lists [0/11]…
*** Review Waiting-For List [0/12]…
*** Review Project (and Larger Outcome) Lists [0/15]…
*** Review Previous Calendar Data [0/16]…
*** Review Upcoming Calendar [0/17]…
*** Review Any Relevant Checklists [0/18]…
*** Be Creative and Courageous [0/19]…

C-c # on an individual section entry does the right thing.


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] 6+ messages in thread

* Re: Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]
  2011-06-20 18:57 ` Achim Gratz
@ 2011-06-20 20:04   ` Nicolas Goaziou
  2011-06-21 14:09     ` Paul Mead
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2011-06-20 20:04 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hello,

Achim Gratz <Stromeko@nexgo.de> writes:

> I'm not sure if org-reset-checkbox-state-subtree is supposed to update
> the cookies, although that would seem logical.
>
> However, C-u C-c # will incorrectly accumulate the checkbox entries from
> previous sections when updating the file, which is clearly a bug:
>
> *** Loose Papers [0/6]…
> *** Process Your Notes [0/9]…
> *** Empty Your Head [0/10]…
> *** Review Action Lists [0/11]…
> *** Review Waiting-For List [0/12]…
> *** Review Project (and Larger Outcome) Lists [0/15]…
> *** Review Previous Calendar Data [0/16]…
> *** Review Upcoming Calendar [0/17]…
> *** Review Any Relevant Checklists [0/18]…
> *** Be Creative and Courageous [0/19]…
>
> C-c # on an individual section entry does the right thing.

Indeed, I noticed that when working on Paul's report. Issues should be
fixed now.

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]
  2011-06-20 20:04   ` Nicolas Goaziou
@ 2011-06-21 14:09     ` Paul Mead
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Mead @ 2011-06-21 14:09 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou <at> gmail.com> writes:


> 
> Indeed, I noticed that when working on Paul's report. Issues should be
> fixed now.
> 
> Regards,
> 

All working fine now, thanks!

Paul

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

end of thread, other threads:[~2011-06-21 14:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 16:25 Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)] Paul Mead
2011-06-20 18:57 ` Achim Gratz
2011-06-20 20:04   ` Nicolas Goaziou
2011-06-21 14:09     ` Paul Mead
  -- strict thread matches above, loose matches on Subject: below --
2011-06-20 11:25 Paul Mead
2011-06-20 15:32 ` Nicolas Goaziou

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