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

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

[emacs-wiki-discuss] Re: planner page template question


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: planner page template question
Date: Thu, 18 Mar 2004 17:23:30 +0800
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

John Sullivan <address@hidden> writes:

> In the end, it works fine, but when I first open a new page,
> everything is "invisible". Once I save the page or do an
> emacs-wiki-highlight-buffer, everything appears again. 

(setq font-lock-support-mode nil)

If that works, then

(setq font-lock-support-mode '((planner-mode . nil) (t . jit-lock-mode)))

might be a good idea.

> I guess I'm going to write a little function to get the day of the
> week from the (emacs-wiki-page-name). Unless you know of a function
> that already does that. (calendar-day-of-week) returns a number that
> needs to be translated to a day. And it wants a different date format
> than 2004.03.17. I think it wants 03 17 2004. So, it will be a good
> little exercise for me :)

(calendar-day-name
  (planner-filename-to-calendar-date (emacs-wiki-page-name)))

-- 
Sacha Chua <address@hidden> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, making computer science education fun
http://sacha.free.net.ph/ - PGP Key ID: BE2D08EC




reply via email to

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