emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] bug with planner-extract-tasks in address@hidden/pl


From: Peter K . Lee
Subject: [emacs-wiki-discuss] bug with planner-extract-tasks in address@hidden/planner--dev--1.0
Date: Thu, 26 May 2005 14:35:41 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (gnu/linux)

(insert-file-contents (cdar pages)) causes an error where pages is a
list of plan pages.  (as it used to be!)

although 'list' makes note of this change, 'pages' does not.

excerpt from my xtla tla-changes.  

<snip>

* looking for address@hidden/planner--dev--1.0--patch-398 to compare with
* comparing to address@hidden/planner--dev--1.0--patch-398

  M  planner.el
                                                                        


* modified files

--- orig/planner.el
+++ mod/planner.el
@@ -2038,10 +2038,10 @@
 accepts the task info as an argument and returns t if
 the task should be added to the list."
   (with-temp-buffer
-    (let ((list
-           (if (listp (car pages))
-               pages
-             (planner-file-alist nil pages)))
+    (if (and (listp pages)
+             (not (listp (car pages))))
+        (setq pages (planner-file-alist nil pages)))
+    (let ((list pages)
           result)
       (while pages
         (erase-buffer)

</snip>

Cheers,

-Peter

-- 
B 01110011 01100001 01101001 01101110 01110100
----------------------------------------------
Managing Member @ CORENOVA,LLC. M:919-641-6314
- let them be, just evolve.     O:919-641-6314
----------------------------------------------
56 69 73 69 74  75 73  61 74: www.corenova.com

CORENOVA> ./freedom. intoxicating. <RET>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]