* wl-summary.el (wl-summary-goto-top-of-current-thread): New implementation.
(wl-summary-target-mark-thread): Ditto.
* wl-message.el (wl-message-display-internal): Bind elmo-mime-charset.
+2002-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * wl-vars.el (wl-folder-mime-charset-alist): Added @2ch.
+
+       * wl-summary.el (wl-summary-goto-top-of-current-thread): New
+       implementation.
+       (wl-summary-target-mark-thread): Ditto.
+
+       * wl-message.el (wl-message-display-internal): Bind elmo-mime-charset.
+
 2002-04-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * wl-util.el (wl-display-bytes): Remove unused function.
        * wl-addrmgr.el (wl-addrmgr-quit-yes): Call get-buffer-window with
        2nd argument.
 
->>>>>>> 1.489
 2002-03-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-draft.el (wl-draft-create-contents): Don't take neither
        * wl-summary.el (wl-summary-next-page): Force display message if
        message is not displayed yet.
        (wl-summary-prev-page): Ditto.
-
-2002-03-11  J\e.A\8e\e,Ai\e(Br\8e\e,At\e(Bme Marant <jerome.marant@free.fr>
+       
+2002-03-11  J\e.A\eNir\eNtme Marant <jerome.marant@free.fr>
 
        * wl-folder.el (wl-folder-mode-menu-spec): Fixed typo.
 
 
 
 (defun wl-message-display-internal (folder number flag
                                           &optional force-reload unread)
-  (let ((default-mime-charset wl-mime-charset))
+  (let ((default-mime-charset wl-mime-charset)
+       (elmo-mime-charset wl-mime-charset))
     (setq wl-message-buffer-all-header-flag (eq flag 'all-header))
     (prog1
        (if (eq flag 'as-is)
 
        (forward-char))
       (/ depth wl-thread-indent-level-internal))))
 
-(defun wl-summary-goto-bottom-of-current-thread ()
-  (if (re-search-forward (concat "^" wl-summary-buffer-number-regexp
-                                "..../..\(.*\)..:.. [[<]") nil t)
-      ()
-    (goto-char (point-max))))
-
 (defun wl-summary-goto-top-of-current-thread ()
   (wl-summary-jump-to-msg
    (wl-thread-entity-get-number
 
 (defun wl-summary-target-mark-thread ()
   (interactive)
-  (let (beg end)
-    (end-of-line)
-    (wl-summary-goto-top-of-current-thread)
-    (wl-thread-force-open)
-    (setq beg (point))
-    (end-of-line)
-    (wl-summary-goto-bottom-of-current-thread)
-;;; (forward-line -1)
-    (beginning-of-line)
-    (setq end (point))
-    (wl-summary-target-mark-region beg end)))
+  (wl-thread-call-region-func 'wl-summary-target-mark-region t))
 
 (defun wl-summary-target-mark-msgs (msgs)
   "Return the number of marked messages."
 
     ("^-relcom\\." . koi8-r)
     ("^-tw\\." . big5)
     ("^-han\\." . euc-kr)
-    ("@sponichi" . shift_jis))
+    ("@sponichi" . shift_jis)
+    ("@2ch" . shift_jis))
   "Charset alist.  If no match, `wl-mime-charset' is used."
   :type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
   :group 'wl-summary