On May 21, 2007, at 6:51, Ruslan Kosolapov wrote:
CD> I have released version 4.74 of Org-mode at
CD> http://www.astro.uva.nl/~dominik/Tools/org/
1. I got org-mode from
http://staff.science.uva.nl/~dominik/Tools/org/org-4.74.tar.gz
2. I configure agenda export as follows:
(setq org-agenda-exporter-settings
'((htmlize-output-type 'inline-css)))
(setq org-agenda-custom-commands
'(("w" todo "WAITING" nil ("agenda-waiting.html"))
("n" todo "NEXT" nil ("agenda-next.html"))
("f" todo "FREEZED" nil ("agenda-freezed.html"))
("d" "Agenda + NEXT" ((agenda) (todo "NEXT")) ("agenda+next.html"))
there is `nil' missing between the list of commands and
the list of files. nil stands for the list of options, you
have it right in all other cases.
("c" agenda "" nil ("agenda-current.html"))
("I" "Ilnar tasks" ((tags "ilnar")) nil ("ilnar-tasks.html"))
("R" "rk tasks" ((tags "rk")) nil ("rk-tasks.html"))
))
3. Now when I press C-c a e, error appears (full errmessage in attach):
Debugger entered--Lisp error: (void-variable nosettings)
(org-write-agenda "agenda-waiting.html" nosettings)
Indeed a bug, will be fixed in 4.75.
Additional info:
1. When I use C-x C-w in agenda buffer, I get another error (full
errmessage in second attach):
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p
nil)
insert(nil 10 "<!-- Created by htmlize-1.30 in inline-css mode.
-->\n" "<html>\n <head>\n" " <title>" "*Org Agenda*" "</title>\n"
"" "")
This is another bug, thank you. You can prevent if for the time being
by loading htmlize before using the org stuff. Will be fixed in 4.75
as well.
Thanks a lot for the detailed report, quite complete!
One more thing: I strongly advise to use absolute file names in
org-agenda-custom-commands.
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode