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

[mhc:02101] Re: guess date



  Message-Id: <20050421.175428.103019597.nogunogu@xxxxxxxxxxxxxxxxx>
  Date:       Thu, 21 Apr 2005 17:54:28 +0900 (JST)
  From:       NOGUCHI Yusuke <nogunogu@xxxxxxxxxxxxxxxxx>
  Subject:    [mhc:02099] guess date

  |   25(月)
  | 
  | をうまく date として guess してもらいたいのですが、どのように調整すれ
  | ば良いでしょうか?

こんなかんじでどうでしょうか。

Index: mhc-guess.el
===================================================================
RCS file: /cvsroot/mhc/emacs/mhc-guess.el,v
retrieving revision 1.22
diff -p -u -r1.22 mhc-guess.el
--- mhc-guess.el	4 Apr 2005 09:09:25 -0000	1.22
+++ mhc-guess.el	22 Apr 2005 09:21:07 -0000
@@ -148,6 +148,9 @@ You can specify following symbols as a l
     ("\\([0-90-9]+\\)[\n  ]*日"
      mhc-guess/make-date-from-mmdd nil 1)
 
+    ("\\([0-90-9]+\\)[  ]*[((][月火水木金土日]"
+     mhc-guess/make-date-from-mmdd nil 1)
+
     ("[^\((]\\([月火水木金土日]\\)\n?曜"
      mhc-guess/make-date-from-relative-week nil 1)
 

--
KOIE Hidetaka <hide@xxxxxxxx>