[EMAIL PROTECTED] (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 <[EMAIL PROTECTED]>       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

Attachment: pgpIGKmoPITJ1.pgp
Description: PGP signature

_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to