From 19258877bd7ffe19028e6a905377f4dc06038e6f Mon Sep 17 00:00:00 2001 From: teranisi Date: Sun, 12 Dec 2004 02:44:35 +0000 Subject: [PATCH] 2004-12-12 Scott Renfro * wl-summary.el (wl-summary-default-subject-filter): Fixed greedy regex for square-branket. --- wl/ChangeLog | 7 ++++++- wl/wl-summary.el | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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) -- 1.7.10.4