From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Idea: Agenda Search publish? Date: Wed, 11 Apr 2007 13:01:28 +0200 Message-ID: <87y7kzp43b.fsf@bzg.ath.cx> References: <3d6808890704020706x5305adf3t4715f80a64bbc57a@mail.gmail.com> <87ejmzqinq.fsf@bzg.ath.cx> <7964a4b88c911e723b4fe697fc60590c@science.uva.nl> <64bfe3d50704051125r67d53303y5c5ac9a695799265@mail.gmail.com> <9bcdfad70704110209k1ba062d8l85c694ebd160492e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hbae5-0004m8-J9 for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 07:05:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hbae3-0004le-Sy for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 07:05:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hbae3-0004lb-PE for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 07:05:47 -0400 Received: from mu-out-0910.google.com ([209.85.134.191]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hbaa0-0005YH-Ey for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 07:01:37 -0400 Received: by mu-out-0910.google.com with SMTP id w1so163459mue for ; Wed, 11 Apr 2007 04:01:35 -0700 (PDT) In-Reply-To: <9bcdfad70704110209k1ba062d8l85c694ebd160492e@mail.gmail.com> (chris's message of "Wed\, 11 Apr 2007 10\:09\:50 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org chris 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