[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: sachawiki: 2004.08.25
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: sachawiki: 2004.08.25 |
Date: |
Fri, 27 Aug 2004 23:42:36 +0900 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Daniel Barral <address@hidden> writes:
> I redefine planner-name-regexp. I don't allow incomplete dates day
> and I still haven't cared about completing
Hmm. I use incomplete dates fairly frequently, but this
should be relatively easy to add to your system.
The downside of mm.dd.yyyy is that a string sort over items with
different years no longer neatly sorts everything, but one can get
around that with another read, I suppose.
> I'm not familiar with defvar//defcustom issues - ir order for all
> this to work (setq european-calendar-style t) has to be placed in
> .emacs BEFORE the custom. Maybe I've chosen a weird way of defining
> these two regexps.
Hmmm, maybe an eval after load. Or you could reinitialize the
variable in planner-mode, if you want...
> Q - why do you use defvar for one and defcustom for the other one?)
Defcustom's for user-visible options.
> This is enough for basic usage being careful to introduce complete
> day.month.year names, and with most of the gotos, except
> planner-get-previous-existing-day and ...-next-..., working ok.
Nifty... =)
--
Sacha Chua <address@hidden> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C