[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: planner-deadline
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: planner-deadline |
Date: |
Mon, 31 Oct 2005 10:56:31 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
address@hidden (Edgar Gonçalves) writes:
> Thanks for the fix. I just noticed one more issue (I thought it was
> an error, but, as usual, the code was right, and I wasn't!). When I
> used dates such as "2005.11.8", instead of "2005.11.08",
> planner-filename-to-calendar-date would produce an args-out-of-range
> error. So I suggest a couple of solutions (not mutually exclusive!):
> - accept incomplete dates (2005.3.6 is always easier to write than
> 2005.03.06). This may not be useless (given the following point), as
> some people tend to edit tasks by hand. I'm not one of those (yet!),
> so I didn't bother hacking this out.
I've opted for the former. Taking a look at your new function ....
2005-10-31 15:54:03 GMT Michael Olson <address@hidden> patch-91
Summary:
planner: Make shortened dates like "2005.1.6" Just Work.
Revision:
planner-muse--mwolson--1.0--patch-91
* planner.el (planner-filename-to-calendar-date): Use match-string
instead of substring to extract the days. This should allow shortened
filenames like "1005.1.6" to Just Work. Thanks to Edgar Gonçalves for
the report.
modified files:
ChangeLog planner.el
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
|_] | \| |_| Jabber: mwolson_at_hcoop.net
pgpwtV1oH_DNr.pgp
Description: PGP signature