[Mew-dist 15423] Re: insert header
Shun-ichi GOTO
gotoh at example.com
2000年 12月 13日 (水) 04:37:16 JST
>>>>> at Wed, 13 Dec 2000 02:31:02 +0900
>>>>> 木下 == Tatsuya Kinoshita <tatsuyak at example.com> said,
木下> 返信元メッセージも参照できるといいね。
なんとなくやってみました。
mew-1.94.2 に含まれていたmew-guess.elを元にしてます。>小幡さん
返信もとのヘッダ Xxx: は、mew-guess-header-alistの設定では
"Original-Xxx:" として参照することが可能になりました。
また、最近のMewではIMとの決別以来、Config:というヘッダを使わずに、
mew-draft-buffer-cofigという名の変数でconfigを保持していますが、
これも擬似ヘッダ "Config:"で参照可能です。
以下の設定を加えることで、返信もとのヘッダ情報が使えるようになります。
(add-hook 'mew-draft-mode-hook 'mew-guess-prepare-for-reply)
## 技術的にいえば、draftバッファで mew-header-get-valueをする方法をやめ、
## ヘッダをバッファローカルなalistで保持しておいてそれを利用してguessす
## るという方式に変更しました。
お試しあれ。
mew-guess.el の新版そのものと、1.94.2版とのdiffを添付します。
--- Regards,
Shun-ichi Goto <gotoh at example.com>
R&D Group, TAIYO Corp., Tokyo, JAPAN
-------------- next part --------------
H4sIAAAAAAAAA3xT23LaMBB9z0y+IC9rumpJijwDuRRzS4CMubgxSRraPqVjsADFF1HZNM
N02m/v2oGUdNo+as/Zs2ePpHq9DpF45POVSBJThMA5h152gIXwfKHBi31IRbQMvVTATIYC
ZAy+9mYpzJSGK/G4v7e/RzLtVbpQugYw6rTv2uCqidIraKiJl3oXsVwuVcynKk61CnmyTk
jTnCrzYdnKu7ta0AC/BleehkqlBGXLsnLkVnyTSYa0V3M4Lm+RDKM2FUUiTj29rm1sfFis
Yi6nCwm90d0IGnOVqsVF6sm12syDA+zgKSbonJw1xvgO79EyXh0UOxuFDD5Gl92wLisbDV
bFkVFgAybZmPXZhCoDdPAIEW2jcPK9UyXuZ+JeoGtPrmx8i9IodFq54EbuJUGf+50SzbWb
X5GfWFjE4NToNVFfJmfG1o87pfq1USCZO1XLVDKN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