From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: BUG: Marking repeating tasks done Date: Mon, 03 Nov 2008 08:54:46 -0500 Message-ID: <87myggdie1.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwztN-0000aK-DW for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 08:54:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwztL-0000Zn-3S for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 08:54:52 -0500 Received: from [199.232.76.173] (port=36479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwztK-0000Zk-UV for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 08:54:50 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:61993) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KwztK-0006BL-Gq for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 08:54:50 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KwztI-0004gg-TD for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 13:54:49 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.13.8/8.13.8/Debian-3) with ESMTP id mA3DskhP024240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 3 Nov 2008 08:54:47 -0500 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id mA3DskuN007692 for ; Mon, 3 Nov 2008 08:54:46 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Carsten, I updated org-mode this morning to commit 413d9b73b0a5a4c38be8791d72e17137306c59ac and I'm trying to mark tasks with repeaters done and get the following error. ,----[ test.org ] | #+STARTUP: | * TODO Repeating Task | SCHEDULED: <2008-11-01 Sat +1w> |=20=20 | Do something |=20 `---- In the repeating task do C-c C-t d to mark the task as done. This would normally prompt for a note but it fails with an error. This leaves the task like this: ,----[ test.org ] | #+STARTUP: | * DONE Repeating Task | SCHEDULED: <2008-11-01 Sat +1w> | - State "DONE" [2008-11-03 Mon 08:46] |=20=20 | Do something |=20 `---- Org-mode version 6.10c GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-07-24 on raven, modified by Debian I have the following custom settings: ,----[ Part of my custom settings ] | '(org-use-fast-todo-selection t) | '(org-todo-keywords (quote ((sequence "TODO(t)" "|" "DONE(d!/!)") (seque= nce "WAITING(w@/!)" "ONGOING(o)" "DEFERRED(D@/!)" "|" "CANCELLED(c@/!)") (s= equence "QUOTATION(q!)" "QUOTED(Q!)" "|" "APPROVED(A@)" "EXPIRED(E@)" "REJE= CTED(R@)") (sequence "OPEN(O!)" "|" "CLOSED(C@)") (sequence "PROJECT(P)" "|= " "COMPLETE(p@)") (sequence "|" "NOTE" "PHONE" "MEETING")))) | '(org-log-done (quote time)) `---- ,---- | Debugger entered--Lisp error: (void-variable org-agenda-headline-snapshot= -before-repeat) | (boundp org-agenda-headline-snapshot-before-repeat) | (if (boundp org-agenda-headline-snapshot-before-repeat) (progn (save-ma= tch-data ...))) | (when (boundp org-agenda-headline-snapshot-before-repeat) (save-match-d= ata (setq org-agenda-headline-snapshot-before-repeat ...))) | (progn (when (boundp org-agenda-headline-snapshot-before-repeat) (save-= match-data ...)) (org-auto-repeat-maybe state)) | (if now-done-p (progn (when ... ...) (org-auto-repeat-maybe state))) | (when now-done-p (when (boundp org-agenda-headline-snapshot-before-repe= at) (save-match-data ...)) (org-auto-repeat-maybe state)) | (let* ((match-data ...) (startpos ...) (logging ...) (org-log-done org-= log-done) (org-log-repeat org-log-repeat) (org-todo-log-states org-todo-log= -states) (this ...) (hl-pos ...) (head ...) (ass ...) (interpret ...) (done= -word ...) (final-done-word ...) (last-state ...) (completion-ignore-case t= ) (member ...) (tail ...) (state ...) (next ...) (change-plist ...) dolog n= ow-done-p) (when org-blocker-hook (unless ... ...)) (store-match-data match= -data) (replace-match next t t) (unless (pos-visible-in-window-p hl-pos) (m= essage "TODO state changed to %s" ...)) (unless head (setq head ... ass ...= interpret ... done-word ... final-done-word ...)) (when (memq arg ...) (me= ssage "Keyword-Set %d/%d: %s" ... ... ...)) (setq org-last-todo-state-is-to= do (not ...)) (setq now-done-p (and ... ...)) (and logging (org-local-loggi= ng logging)) (when (and ... ...) (setq dolog ...) (when ... ...) (when ... = ... ...) (when ... ...)) (org-todo-trigger-tag-changes state) (and org-auto= -align-tags (not org-setting-tags) (org-set-tags nil t)) (when org-provide-= todo-statistics (org-update-parent-todo-statistics)) (run-hooks (quote org-= after-todo-state-change-hook)) (if (and arg ...) (setq head ...)) (put-text= -property (point-at-bol) (point-at-eol) (quote org-todo-head) head) (when n= ow-done-p (when ... ...) (org-auto-repeat-maybe state)) (if (and ... ... ..= . ...) (progn ... ...)) (when org-trigger-hook (save-excursion ...))) | (catch (quote exit) (org-back-to-heading) (if (looking-at outline-regex= p) (goto-char ...)) (or (looking-at ...) (looking-at " *")) (let* (... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... dol= og now-done-p) (when org-blocker-hook ...) (store-match-data match-data) (r= eplace-match next t t) (unless ... ...) (unless head ...) (when ... ...) (s= etq org-last-todo-state-is-todo ...) (setq now-done-p ...) (and logging ...= ) (when ... ... ... ... ...) (org-todo-trigger-tag-changes state) (and org-= auto-align-tags ... ...) (when org-provide-todo-statistics ...) (run-hooks = ...) (if ... ...) (put-text-property ... ... ... head) (when now-done-p ...= ...) (if ... ...) (when org-trigger-hook ...))) | (save-excursion (catch (quote exit) (org-back-to-heading) (if ... ...) = (or ... ...) (let* ... ... ... ... ... ... ... ... ... ... ... ... ... ... = ... ... ... ... ... ...))) | org-todo(nil) | call-interactively(org-todo) `---- Rewinding to=20 commit cb1bbaf244e141630f29cd117e30cc91741ac3bc Author: Carsten Dominik Date: Sun Nov 2 17:13:25 2008 +0100 Don't keep buffers visited during index publishing. works. Regards, Bernt