From: bg66 Date: Sat, 30 Dec 2006 06:36:56 +0000 (+0000) Subject: * mixi.el (mixi-event-owner-seceded-regexp): New regexp. X-Git-Tag: mixi-el-1_0_0~130 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=520abad62a32c885243aef0b450b80a747b30f3a;p=elisp%2Fmixi.git * mixi.el (mixi-event-owner-seceded-regexp): New regexp. (mixi-realize-event): Follow the change above. --- diff --git a/ChangeLog b/ChangeLog index 262dd67..eed80f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-30 OHASHI Akira + + * mixi.el (mixi-event-owner-seceded-regexp): New regexp. + (mixi-realize-event): Follow the change above. + 2006-12-28 OHASHI Akira * sb-mixi.el (shimbun-mixi-message-id-suffix): Abolish. diff --git a/mixi.el b/mixi.el index 587def2..1129b06 100644 --- a/mixi.el +++ b/mixi.el @@ -1759,6 +1759,8 @@ Increase this value when unexpected error frequently occurs." " \\([^<]+\\)") (defconst mixi-event-owner-regexp " \\(.*\\)") +(defconst mixi-event-owner-seceded-regexp + " \\((mixi Âà²ñºÑ)\\)") (defconst mixi-event-date-regexp "³«ºÅÆü»þ @@ -1809,7 +1811,11 @@ Increase this value when unexpected error frequently occurs." (mixi-event-set-owner event (mixi-make-friend (match-string 2 buffer) (match-string 3 buffer))) - (mixi-realization-error 'cannot-find-owner event)) + (if (string-match mixi-event-owner-seceded-regexp buffer) + (mixi-event-set-owner event + (mixi-make-friend nil + (match-string 2 buffer))) + (mixi-realization-error 'cannot-find-owner event))) (if (string-match mixi-event-date-regexp buffer) (mixi-event-set-date event (match-string 6 buffer)) (mixi-realization-error 'cannot-find-date event))