emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Idea: Agenda Search publish?


From: Bastien
Subject: Re: [Orgmode] Re: Idea: Agenda Search publish?
Date: Wed, 11 Apr 2007 13:01:28 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

chris <address@hidden> writes:

> So, this is a function I use to htmlize the agenda buffer.  Very basic,
> but works for me to be able to see my TODOs away from my desktop
>
> (defun cw-print-agenda ()                                                 
>   "htmlize org-mode's agenda"                                         
>   (interactive "P")                                                           
>                   
>   (require 'htmlize)                                                          
>                   
>   (let ((todo-buffer "*Org Agenda*"))                                         
>                   
>     (org-todo-list 0)                                                         
>                   
>     (set-buffer (htmlize-buffer))                                             
>                   
>     (write-file "~/public_html/Todo.html")                                    
>                   
>     (kill-this-buffer)                                                        
>                   
>     (kill-buffer todo-buffer)))        

I guess (interactive "P") should be (interactive) only, and (org-todo-list
0) should be replaced by something like (org-todo-list "TODO") since 4.70.

Nice use of htmlize though!

-- 
Bastien




reply via email to

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