[Mew-dist 240] Re: JIS subject ?

Shuhei KOBAYASHI shuhei-k at example.com
1996年 12月 5日 (木) 15:47:28 JST


  こばやし@JAIST です。

>>>>> In <9612050552.AA27877 at example.com>,
>>>>> yoshi at example.com (Y.Yoshinaga) wrote:
> この修正をmew1.06に適用するにはどうすればいいでしょうか?
> mew-1.06にはmew-header.elは無いのでパッチをあてることができません。
  ...
> Mule2.2(Emacs19.28.1)ではだめですか?

  mew-header-decode は 1.06 では mew.el にあったのですが、今とほとんど
変わらないので同じ方法で使えると思います。

 (defun mew-header-decode (str &optional del-ret)
   (if del-ret
       (while (string-match "\n[ \t]*" str)
         (setq str (concat (substring str 0 (match-beginning 0))
                           (substring str (match-end 0) (length str)))
               )
         )
     )
+  (setq str (code-convert-string str mew-mule-charset-local *internal*))
   (while (string-match "=\\?\\([^?]+\\)\\?\\(.\\)\\?\\([^?]+\\)\\?= ?" str)
     ;; last " ?" is for mhn. (I don't like it.)

ではどうでしょうか?
-- 
小林 修平 / Shuhei KOBAYASHI / <shuhei-k at example.com>
http://www.jaist.ac.jp/~shuhei-k/bbdb-mew.el



Mew-dist メーリングリストの案内