emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Idea: Agenda Search publish?
Date: Wed, 11 Apr 2007 13:01:28 +0200	[thread overview]
Message-ID: <87y7kzp43b.fsf@bzg.ath.cx> (raw)
In-Reply-To: <9bcdfad70704110209k1ba062d8l85c694ebd160492e@mail.gmail.com> (chris's message of "Wed\, 11 Apr 2007 10\:09\:50 +0100")

chris <crassshed@gmail.com> 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	other threads:[~2007-04-11 11:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 14:06 Idea: Agenda Search publish? Tim O'Callaghan
2007-04-05  9:23 ` Bastien
2007-04-05 10:03   ` Leo
2007-04-05 16:56     ` Carsten Dominik
2007-04-05 18:25       ` David O'Toole
2007-04-05 18:40         ` Leo
     [not found]           ` <3d6808890704051213i1a3bc737wfa715f4b7f2f0c25@mail.gmail.com>
2007-04-05 19:29             ` Tim O'Callaghan
2007-04-05 20:56         ` Jason F. McBrayer
2007-04-11  9:09           ` chris
2007-04-11 11:01             ` Bastien [this message]
2007-04-11 12:38               ` chris
2007-04-11 20:26                 ` publish archives François Lagarde
2007-04-11 14:00             ` Idea: Agenda Search publish? Leo
2007-04-05 18:37       ` Leo
2007-04-23 20:39 ` Carsten Dominik
2007-04-24 17:51   ` Jason F. McBrayer
2007-04-25 21:21   ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y7kzp43b.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).