* wl-folder.el (wl-folder-guess-mailing-list-by-folder-name):
authorteranisi <teranisi>
Fri, 15 Jun 2001 09:01:59 +0000 (09:01 +0000)
committerteranisi <teranisi>
Fri, 15 Jun 2001 09:01:59 +0000 (09:01 +0000)
Workaround for net folders.
(According to the patch from ABE Yasushi <yasushi@stbbs.net>)

wl/ChangeLog
wl/wl-folder.el

index b718031..62aabd5 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * wl-folder.el (wl-folder-guess-mailing-list-by-folder-name):
+       Workaround for net folders.
+       (According to the patch from ABE Yasushi <yasushi@stbbs.net>)
+
 2001-06-06  Peter Møller Neergaard <turtle@bu.edu>
 
        * wl-summary.el (wl-summary-resend-bounced-mail): Modified regexp
index 6845733..2f562d6 100644 (file)
@@ -2083,6 +2083,8 @@ Use `wl-subscribed-mailing-list'."
            (if (eq 'imap4 (elmo-folder-get-type folder))
                (elmo-imap4-spec-mailbox (elmo-imap4-get-spec folder))
              (substring folder 1)))
+      (if (string-match "@" folder)
+         (setq folder (substring folder 0 (match-beginning 0))))
       (when (string-match "[^\\./]+$" folder) ; last hierarchy
        (setq key (regexp-quote
                   (concat (substring folder (match-beginning 0)) "@")))