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

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

Re: [emacs-wiki-discuss] Re: Wrong type argument: listp, "/home/ray/Plan


From: Raimund Kohl-Fuechsle
Subject: Re: [emacs-wiki-discuss] Re: Wrong type argument: listp, "/home/ray/Plans/2005.01.04"
Date: Wed, 05 Jan 2005 19:21:17 +0100

Michael Olson <address@hidden> wrote:

> Raimund Kohl-Fuechsle <address@hidden> writes:
> 
> > Wrong type argument: listp, "/home/ray/Plans/2005.01.04"
> >
> > <snip>
> >
> > It started with the first of January.
> 
> Would you be willing to post the contents of that plan page?

There's absolutely no Task in it.  If there is no day page at all, emacs
loads fine and sets a day page itself.  If you leave that page that way
and restart emacs, emacs loads fine.  The moment the file contains
something emacs starts with an error.  Here's the day page of today:


---snkip---
* Diary

The Discourses series No 2

* Tasks


* Schedule


* Notes
---snip---

As you can see there is a section "Diary".  It was set by emacs with
calling M-x planner-diary-insert-diary.  I have unset my template.

To come closer to the possible source of that error I first unset
everything concerning planner.el.  Emacs starts fine.  I set (require
planner) but nothing else, emacs starts fine.  I add (plan) and the
error is back - thus I doubt the mistake is in planner-diary.el.

>  It might be nice to have your emacs-wiki and planner config as well.
> Sorry if I asked you that already -- there are several related bug
> reports and I'm trying to figure out what will fix each one.

Oh, no problem at all.  We all are interested in finding out what's
wrong, and what ever is needed: no problem!

I do have just a short segment of planner related issues in .emacs.
They are:

'(planner-carry-tasks-forward t)
'(planner-default-task-priority "B")
'(planner-renumber-notes-automatically t)
'(planner-reverse-chronological-notes nil)

All other settings of Planner are in my Planner.el.  They are:

;;;;;;;;;;;;;;;;;;;;;;
;;my planner-settings
;;;;;;;;;;;;;;;;;;;;;;
(require 'planner)
(plan)

(require 'planner-diary)
(planner-diary-insinuate)

(setq planner-calender-show-planner-files t)
(setq planner-day-page-template "* Tasks \n\n\n\n* Schedule\n\n\n\n* 
Dreams\n\n\n\n* Notes\n\n\n\n")
(setq planner-plan-page-template "* Tasks \n\n\n\n* Expenses\n\n\n\n* 
Notes\n\n\n\n")

(setq planner-publishing-directory "~/WebPlans")
(setq planner-reverse-chronological-notes t)
(setq planner-show-only-existing t)
(setq planner-use-other-window nil)

(autoload 'remember "remember" nil t)        ;; is set to F8
(autoload 'remember-region "remember" nil t) ;; is set to F9

(require 'remember-planner)
(setq remember-handler-functions '(remember-planner-append))
(setq remember-annotation-functions planner-annotation-functions)

(require 'planner-id)
(require 'planner-notes-index)
(require 'emacs-wiki-table)
(require 'planner-cyclic)
(setq planner-cyclic-diary-nag nil)

My settings of emacs-wiki are in .emacs are concerned only with
emacs-wiki-projects (I got two: WikiPlanner and WikiPregnancy).

---snip---

 '(emacs-wiki-projects (quote (("WikiPlanner" (emacs-wiki-directories 
"~/Plans") (emacs-wiki-major-mode . planner-mode) (emacs-wiki-markup-tags 
("notes" nil nil nil planner-notes-tag) ("past-notes" nil t nil 
planner-past-notes-tag) ("tasks" nil t nil planner-tasks-tag) ("example" t nil 
t emacs-wiki-example-tag) ("verbatim" t nil t emacs-wiki-verbatim-tag) 
("nowiki" t nil t emacs-wiki-nowiki-tag) ("verse" t nil nil 
emacs-wiki-verse-tag) ("numbered" t nil nil emacs-wiki-numbered-tag) ("nop" nil 
nil t emacs-wiki-nop-tag) ("contents" nil t nil emacs-wiki-contents-tag) 
("include" nil t nil emacs-wiki-include-tag) ("c-source" t t t 
emacs-wiki-c-source-tag) ("comment" t nil nil emacs-wiki-comment-tag)) 
(emacs-wiki-publishing-markup [emacs-wiki-tag-regexp 0 
emacs-wiki-markup-custom-tags] 
["^#\\([A-C]\\)\\([0-9]*\\)\\s-*\\([_oX>CP]\\)\\s-*\\(.+\\)" 0 
planner-markup-task] ["^\\.#\\([0-9]+\\)" 0 planner-markup-note] 
[emacs-wiki-tag-regexp 0 emacs-wiki-markup-custom-tags] 
["&\\([-A-Za-z_#0-9]+\\);" 0 emacs-wiki-markup-entity] 
["^#\\(menu\\|title\\|date\\|style\\|related\\)\\s-+\\(.+\\)
+" 0 emacs-wiki-markup-initial-directives] [emacs-wiki-tag-regexp 0 
emacs-wiki-markup-custom-tags] ["\\(^\\|[-[         
<('`\"]\\)\\(=[^=       
]\\|_[^_        
]\\|\\*+[^*     
]\\)" 2 emacs-wiki-markup-word] ["^\\(\\*+\\)\\s-+" 0 
emacs-wiki-markup-heading] ["^#\\(\\S-+\\)\\s-*" 0 emacs-wiki-markup-anchor] 
["^----+" 0 "<hr />"] [emacs-wiki-macro-regexp 0 emacs-wiki-macro-expand] 
["^\\(\\* \\)?Footnotes:?\\s-*" 0 "</p><hr />
<p>
"] ["\\[\\([1-9][0-9]*\\)\\]" 0 emacs-wiki-markup-footnote] 
["^\\s-*\\(-\\s-\\|[0-9]+\\.\\s-\\)" 1 "
\\1"] ["\\`
*" 0 "<p>
"] ["
\\([    ]*
\\)+" 0 "

</p>

<p>
"] ["^\\s-*\\(\\([^|
]+\\(|+\\)\\s-*\\)+\\)\\([^|
]+\\)?$" 1 emacs-wiki-markup-table] ["^\\(\\s-*\\(-\\|[0-9]+\\.\\|\\(.+\\)[     
]+::
?\\)\\)?\\([    ]+\\)" 4 emacs-wiki-markup-list-or-paragraph] ["<p>\\s-+> 
\\(\\([^
]
?\\)+\\)\\(\\s-*</p>\\)?" 0 emacs-wiki-markup-verse] 
["</\\([oud]l\\)>\\s-*\\(</p>\\s-*<p>\\s-*\\)?<\\1>\\s-*" 0 ""] 
["</tbody>\\s-*</table>\\s-*\\(</p>\\s-*<p>\\s-*\\)?<table[^>]*>\\s-*<tbody>\\s-*"
 0 ""] ["</table>\\s-*\\(</p>\\s-*<p>\\s-*\\)?<table[^>]*>\\s-*" 0 ""] 
["<p>\\s-*\\(</?\\(h[1-9r]\\|[oud]l\\|table\\|center\\|blockquote\\|pre\\)[^>]*>\\)"
 0 "\\1"] 
["\\(</?\\(h[1-9r]\\|[oud]l\\|table\\|center\\|blockquote\\|pre\\)[^>]*>\\)\\s-*\\(</p>\\)"
 3 "\\1"] ["<p>\\s-*\\'" 0 ""] ["\\([^>  
]\\)\\s-*\\'" 0 "\\1
</p>"] [emacs-wiki-url-or-name-regexp 0 emacs-wiki-markup-link] ["''''" 0 ""] 
["\\([^-+:.@/a-zA-Z0-9]\\)\\(address@hidden([-a-zA-Z0-9_]+\\.\\)+[a-zA-Z0-9]+\\)\\([^-\"a-zA-Z0-9]\\)"
 0 "\\1<a href=\"mailto:\\2\";>\\2</a>\\4"] ["\\(``\\|''\\)" 0 "\""] (lambda nil 
(insert emacs-wiki-publishing-header)) (lambda nil (goto-char (point-max)) 
(insert emacs-wiki-publishing-footer)) [emacs-wiki-tag-regexp 0 
emacs-wiki-markup-custom-tags]) (emacs-wiki-url-or-name-regexp) 
(emacs-wiki-name-regexp . "\\[\\[\\([^][ 
]+\\)\\]\\(\\[\\([^][
]+\\)\\]\\)?\\]\\|\\<[A-Z][a-z]+\\([A-Z][a-z]+\\)+\\(#[A-Za-z0-9]+\\)?\\|[0-9][0-9][0-9][0-9]\\.[0-9][0-9]\\.[0-9][0-9]#[A-Za-z0-9_%]+\\|[0-9][0-9][0-9][0-9]\\.[0-9][0-9]\\.[0-9][0-9]")
 (emacs-wiki-highlight-regexp) (emacs-wiki-highlight-vector) 
(emacs-wiki-highlight-markup ("=[^        =]" 61 emacs-wiki-highlight-verbatim) 
("\\*+" 42 emacs-wiki-highlight-emphasized) ("_[^         _]" 95 
emacs-wiki-highlight-underlined) ("''''" 39 (lambda nil (add-text-properties 
(match-beginning 0) (match-end 0) (quote (invisible t intangible t))))) 
("^#title " 35 emacs-wiki-highlight-title) (emacs-wiki-url-or-name-regexp t 
emacs-wiki-highlight-link) (emacs-wiki-tag-regexp 60 
emacs-wiki-highlight-custom-tags)) (emacs-wiki-publishing-directory . 
"~/WebWiki")) ("WikiPregnancy" (emacs-wiki-directories "~/WikiPregnancy") 
(emacs-wiki-major-mode . emacs-wiki-mode)))))

---snip---

> One wild guess would be that the problem is caused by the removal of
> the number from the task, i.e. "#A1" -> "#A ", but I don't know for
> sure.  Any ideas, Sacha?

As said before: My day page doesn't contain ANY single Task.

Thanks for you help.

ray




reply via email to

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