URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14907>
Summary: planner-list-unfinished-tasks reports wrong-type-argument stringp nil Project: emacs-wiki, planner, and related modules Submitted by: None Submitted on: Thu 11/03/05 at 13:43 Category: planner Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open _______________________________________________________ Details: M-x planner-list-unfinished-tasks results in (wrong-type-argument stringp nil) with the trace given below. Note that I am using GNU Emacs 21.3.1 i386-mingw-nt5.*. insert-file-contents(nil) (while pages (erase-buffer) (insert-file-contents (cdr ...)) (goto-char (point-max)) (while (re-search-backward "^#[A-C]" nil t) (let ... ...)) (setq pages (cdr pages))) (let ((list ...) result) (while pages (erase-buffer) (insert-file-contents ...) (goto-char ...) (while ... ...) (setq pages ...)) result) (save-current-buffer (set-buffer temp-buffer) (let (... result) (while pages ... ... ... ... ...) result)) (with-current-buffer temp-buffer (let (... result) (while pages ... ... ... ... ...) result)) (unwind-protect (with-current-buffer temp-buffer (let ... ... result)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (let ((temp-buffer ...)) (unwind-protect (with-current-buffer temp-buffer ...) (and ... ...))) (with-temp-buffer (let (... result) (while pages ... ... ... ... ...) result)) planner-extract-tasks((("WikiPlanner" . "c:/home/anon/doc/planner/WikiPlanner") ... ("2005.10.18" . "c:/home/anon/doc/planner/2005.10.18") ...) (lambda (item) (string-match status (planner-task-status item)))) (setq tasks (planner-extract-tasks (if check-plan-pages ... ...) (lambda ... ...))) (let (tasks) (setq tasks (planner-extract-tasks ... ...)) (while tasks (insert ...) (setq tasks ...))) planner-list-tasks-with-status("[^XC]" ("2005.11.06" "2005.11.05" "2005.11.04" "2005.11.03" "2005.11.02" "2005.11.01" "2005.10.30" "2005.10.29" "2005.10.28" "2005.10.27" "2005.10.26" "2005.10.25" "2005.10.24" "2005.10.20" "2005.10.18" "2005.10.17" "2005.10.15" "2005.10.13" "2005.10.09" "2005.10.08" "2005.10.07" "2005.10.06" "2005.10.05" "2005.10.04" "2005.10.03" "2005.10.02" "2005.10.01" "2005.09.30" "2005.09.29" "2005.09.28" "2005.09.27" "2005.09.26" "2005.09.23" "2005.09.22" "2005.09.21" "2005.09.20" "2005.09.19" "2005.09.16" "2005.09.15" "2005.09.13" "2005.09.12" "2005.09.11" "2005.09.09" "2005.09.08" "2005.09.06" "2005.09.05" "2005.09.04")) planner-list-unfinished-tasks(("2005.11.06" "2005.11.05" "2005.11.04" "2005.11.03" "2005.11.02" "2005.11.01" "2005.10.30" "2005.10.29" "2005.10.28" "2005.10.27" "2005.10.26" "2005.10.25" "2005.10.24" "2005.10.20" "2005.10.18" "2005.10.17" "2005.10.15" "2005.10.13" "2005.10.09" "2005.10.08" "2005.10.07" "2005.10.06" "2005.10.05" "2005.10.04" "2005.10.03" "2005.10.02" "2005.10.01" "2005.09.30" "2005.09.29" "2005.09.28" "2005.09.27" "2005.09.26" "2005.09.23" "2005.09.22" "2005.09.21" "2005.09.20" "2005.09.19" "2005.09.16" "2005.09.15" "2005.09.13" "2005.09.12" "2005.09.11" "2005.09.09" "2005.09.08" "2005.09.06" "2005.09.05" "2005.09.04")) call-interactively(planner-list-unfinished-tasks) execute-extended-command(nil) * call-interactively(execute-extended-command) _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14907> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ emacs-wiki-discuss mailing list emacs-wiki-discuss@nongnu.org http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss