From: teranisi Date: Sun, 12 Dec 2004 02:44:35 +0000 (+0000) Subject: 2004-12-12 Scott Renfro X-Git-Tag: wl-2_12-root~10 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=19258877bd7ffe19028e6a905377f4dc06038e6f;p=elisp%2Fwanderlust.git 2004-12-12 Scott Renfro * wl-summary.el (wl-summary-default-subject-filter): Fixed greedy regex for square-branket. --- diff --git a/wl/ChangeLog b/wl/ChangeLog index 1d2c061..23bb02c 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,9 +1,14 @@ +2004-12-12 Scott Renfro + + * wl-summary.el (wl-summary-default-subject-filter): Fixed greedy + regex for square-branket. + 2004-12-11 Hiroya Murata * wl-mime.el (wl-mime-preview-follow-no-mime): Call `wl-message-mime-analysis-p' with argument `header'. -2004-12-12 Yuuichi Teranishi +2004-12-11 Yuuichi Teranishi * wl-mime.el (wl-draft-yank-current-message-entity): Switch to no-mime following method according to wl-message-display-type diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 1eaf098..a57ec6d 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -2575,7 +2575,7 @@ If ARG, without confirm." (defun wl-summary-default-subject-filter (subject) (setq subject (elmo-replace-in-string subject "[ \t]*\\(re\\|was\\)[:>]" "")) (setq subject (elmo-replace-in-string subject "[ \t]" "")) - (elmo-replace-in-string subject "^\\[.*\\]" "")) + (elmo-replace-in-string subject "^\\[[^]]*\\]" "")) (defun wl-summary-subject-equal (subject1 subject2) (string= (funcall wl-summary-subject-filter-function subject1)