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

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

[emacs-wiki-discuss] Re: On the 43folders list


From: Andrew J. Korty
Subject: [emacs-wiki-discuss] Re: On the 43folders list
Date: Mon, 21 Feb 2005 12:10:02 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21 (darwin)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Lowis <address@hidden> writes:

> Is there a way to publish a today.html
> file that links/is a duplicate of the current day page ? That way the
> homepage of my browser could be set to today.html and would update
> automatically.

planner-calendar.el has a function you can add to
emacs-wiki-after-file-publish-hook to do that:

,----
| (add-hook 'emacs-wiki-mode-hook
|           (lambda ()
|             (add-hook 'emacs-wiki-after-file-publish-hook
|                       'planner-calendar-create-today-link nil t)))
`----

It doesn't work over TRAMP, though, so I use a Mason component to
figure out what today's page should be and point to that.

- -- 
Andrew J. Korty, Chief Security Engineer, GCIA, GCFA
Office of the Vice President for Information Technology
Indiana University
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCGhXq8gM8+Mr5peERAgwNAKCvTAcuMpGHjzyDIlTgKDTlPBj0YgCg7poh
8nBfpHEn9+j+ETMTazKG27w=
=03Yo
-----END PGP SIGNATURE-----




reply via email to

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