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

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

[emacs-wiki-discuss] Re: Schedule, Diary and Planner


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: Schedule, Diary and Planner
Date: Wed, 08 Jun 2005 00:01:55 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

address@hidden (Edgar Gonçalves) writes:

> The only thing I can see it's missing here is the ability to make the list 
> have
> a class="" attribute. But this is generic to emacs-wiki, not just planner
> itself. I had to change tasks and notes generation to include these 
> attributes,
> but every normal emacs-wiki section/text/list/whatever doesn't have a mean to
> provide such a customization level. Am I right?

Hmm, yeah, I changed this by defining my own markup functions.

One way to get around this would be to wrap the section in <div
class="..."></div> and then use CSS selectors like .foo LI to do
things. You can modify the defadvice I gave you to insert the <div
class="something"> and </div> tags at the start and end of the buffer,
or you can write a markup function to add to planner-publishing-markup
that looks for the schedule sections and adds the div tags to them
right before publishing. I wonder if that would work...

-- 
Sacha Chua <address@hidden> - open source geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, CS ed
sachac on irc.freenode.net#emacs . YM: sachachua83




reply via email to

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