[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: A request for a diary feature
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: A request for a diary feature |
Date: |
Fri, 22 Apr 2005 22:42:38 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Chris McMahan <address@hidden> writes:
> I've been fighting to get my diary entries published in a meaningful
> way, but the text from the entries just concatenate together on the
> HTML output.
I cheat by including emacs-wiki markup in my diary. ;)
> Would it be possible to add a variable to planner-diary that would
> flag a character to prepend to each diary entry? This would allow the
> user to specify a '-' character or such that would then be
> interpreted correctly by the emacs wiki.
You might be able to get that effect by modifying
planner-diary-update-section or planner-diary-get-diary-entries to
prefix "- " before every (useful) line. =) Want to try that out in
your personal config?
> customize any aspect of the tasks, diary, notes or journal to their
> heart's content. Maybe just adding a customized class tag for each
You _can_ actually do this already. =) Just override functions or add
new markup rules as you wish. For example, I've recently adopted
box-style entries on my website. I did that by adding a
sacha/planner-markup-notes function that scanned for the .#[0-9]
regexp, narrowed to the note, then did markup. Likewise,
sacha/planner-markup-tasks makes tasks tables instead of lists. <grin>
--
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