[Mew-dist 04261] Re: a path to display the first part

Shuichi Kitaguchi shuuic-k at example.com
1998年 3月 23日 (月) 22:49:28 JST


From: Kazu Yamamoto (山本和彦) <Kazu at example.com>
Subject: [Mew-dist 04255] Re: a path to display the first part
Date: Mon, 23 Mar 1998 17:46:19 +0900

> > text/plain なファイルを添付しただけのメールだと、最初にある
> > 添付されたファイルが第 1 パート目として From: や Subject: と
> > 一緒に表示されてしまいます。というわけで、
> > 
> > ・前の形式と切り換えることができるようにする。
> > ・CDP: があれば前の表示形式にする。
> > 
> > のどちらかの方が嬉しいかな、と思います。
> 
> CDP: + filename の場合には本文として引用するのではなく、ファイルとして
> 表示するようにしました。以下その他のバグもついでに取れるパッチです。お
> 試しあれ。

ちょっとおかしいようです(前と変わらない)。よくはわからないのですが、

--- mew-syntax.el	Mon Mar 23 12:43:37 1998
+++ mew-syntax.el.new	Mon Mar 23 13:40:34 1998
@@ -513,13 +513,14 @@
 				ct cd
 				(mew-attr-get-icon (mew-attr-by-ct ct)) func))
     (while (< cnt len)
+      (setq lcdp (mew-syntax-get-cdp (aref syntax cnt)))
       (if (and dec
 	       ;; the first part under message
 	       body (equal cnt mew-syntax-magic)
 	       ;; CT: is text/plain but not attached file.
 	       (equal (capitalize (car (mew-syntax-get-ct (aref syntax cnt))))
 		      mew-ct-txt)
-	       (or (null cdp) (null (mew-syntax-get-member cdp "filename"))))
+	       (or (null lcdp) (null (mew-syntax-get-member lcdp "filename"))))
 	  ()
 	(mew-syntax-singlepart
 	 msg

こんな感じで、一応ファイルとして *も* 表示されます。

# 本文としても表示されてしまっています。


--==| Shuichi Kitaguchi : shuuic-k at example.com |
    |     / kit at example.com / shkit at example.com |==--



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