From f666dba407477436691fa6ba1849de5e38e28122 Mon Sep 17 00:00:00 2001 From: yoichi Date: Tue, 18 Sep 2001 09:59:45 +0000 Subject: [PATCH] Update x-face section. --- doc/wl-ja.texi | 76 ++++++++++++++++++++++++++++++++++---------------------- doc/wl.texi | 74 +++++++++++++++++++++++++++++++++--------------------- 2 files changed, 92 insertions(+), 58 deletions(-) diff --git a/doc/wl-ja.texi b/doc/wl-ja.texi index 9ae02b5..329eaac 100644 --- a/doc/wl-ja.texi +++ b/doc/wl-ja.texi @@ -5906,7 +5906,7 @@ LDAP を利用する場合は、@code{wl-ldap-server}、@code{wl-ldap-port}, * BBDB:: BBDB * supercite:: supercite.el * mu-cite:: mu-cite.el -* x-face-mule:: x-face-mule.el +* X-Face:: x-face,bitmap-mule * dired-dd:: dired-dd.el * MHC:: MHC @end menu @@ -5982,7 +5982,7 @@ OK です。 @end lisp -@node mu-cite, x-face-mule, supercite, Living with other packages +@node mu-cite, X-Face, supercite, Living with other packages @subsection mu-cite.el @pindex mu-cite @@ -6008,56 +6008,72 @@ mu-cite 8.1以降のバージョンをお使いなら、 @end group @end lisp -@node x-face-mule, dired-dd, mu-cite, Living with other packages -@subsection x-face-mule.el -@pindex x-face-mule -@pindex bitmap-mule +@node X-Face, dired-dd, mu-cite, Living with other packages +@subsection x-face +@pindex x-face -x-face-mule のバージョンによって設定が異なります。 +以下のいずれかをインストールすることで、 メッセージバッファの +@samp{X-Face:} フィールドをデコードして、画像を表示することができます。 -x-face-mule 0.19以前のバージョンをお使いなら、 -以下のように設定してください。 +@menu +* x-face-xmas:: XEmacs の場合 +* x-face-mule:: Emacs 19.34、20.x の場合 +* x-face-e21:: Emacs 21.x の場合 +@end menu + +また、エンコード済みの X-Face 文字列を @file{~/.xface} +(変数 @code{wl-x-face-file} の値です)の内容に用意しておくと、 +ドラフトが準備されるときに自動的に @samp{X-Face:} フィールドとして挿入されます。 +(変数 @code{wl-auto-insert-x-face} が non-nil の場合) + + +@node x-face-xmas, x-face-mule, X-Face, X-Face +@subsubsection x-face-xmas (XEmacs の場合) +@pindex x-face-xmas + +x-face (@uref{ftp://jpl.org/pub/elisp/}) 1.3.6.13 以降に付属の +@file{x-face-xmas.el} を使う場合は以下のように設定してください。 @lisp @group -(setq wl-highlight-x-face-function - (function - (lambda (&optional beg end) - (x-face-mule:x-face-decode-message-header)))) -(require 'x-face-mule) +(autoload 'x-face-xmas-wl-display-x-face "x-face") +(setq wl-highlight-x-face-function 'x-face-xmas-wl-display-x-face) @end group @end lisp -x-face-mule 0.20 以降のバージョンをお使いなら、 -以下のように設定してください。 +@node x-face-mule, x-face-e21, x-face-xmas, X-Face +@subsubsection x-face-mule (Emacs 19.34、20.x の場合) +@pindex x-face-mule +@pindex bitmap-mule + +bitmap-mule (@uref{ftp://ftp.jpl.org/pub/elisp/bitmap/}) 8.0以降に +付属の @file{x-face-mule.el} を使う場合は以下のように設定してください。 @lisp @group -(setq wl-highlight-x-face-function - (function - (lambda (&optional beg end) - (x-face-mule-x-face-decode-message-header)))) -(require 'x-face-mule) +(autoload 'x-face-decode-message-header "x-face-mule") +(setq wl-highlight-x-face-function 'x-face-decode-message-header) @end group @end lisp -bitmap-mule 8.0以降に付属の @file{x-face-mule.el} -をお使いになる場合は以下のように設定してください。 +@node x-face-e21, , x-face-mule, X-Face +@subsubsection x-face-e21 (Emacs 21.x の場合) +@pindex x-face-e21 + +bitmap-mule (@uref{ftp://ftp.jpl.org/pub/elisp/bitmap/}) と +@file{x-face-e21.el} (@uref{ftp://jpl.org/pub/elisp/}) を使う場合は以下の +ように設定してください。 @lisp @group -(autoload 'x-face-decode-message-header "x-face-mule") +(require 'bitmap) +(autoload 'x-face-decode-message-header "x-face-e21") (setq wl-highlight-x-face-function 'x-face-decode-message-header) @end group @end lisp -エンコード済みの X-Face 文字列を @file{~/.xface} -(変数 @code{wl-x-face-file} の値です)の内容に用意しておくと、 -ドラフトが準備されるときに自動的に @samp{X-Face:} フィールドとして挿入されます。 -(変数 @code{wl-auto-insert-x-face} が non-nil の場合) - -@node dired-dd, MHC, x-face-mule, Living with other packages +@node dired-dd, MHC, X-Face, Living with other packages @subsection dired-dd(Dired-DragDrop) @pindex Dired-DragDrop @pindex Dired-DD diff --git a/doc/wl.texi b/doc/wl.texi index 501d701..37b693d 100644 --- a/doc/wl.texi +++ b/doc/wl.texi @@ -5994,7 +5994,7 @@ Examples with other packages. * BBDB:: BBDB * supercite:: supercite.el * mu-cite:: mu-cite.el -* x-face-mule:: x-face-mule.el +* X-Face:: x-face,bitmap-mule * dired-dd:: dired-dd.el * MHC:: MHC @end menu @@ -6070,7 +6070,7 @@ example of settings: @end lisp -@node mu-cite, x-face-mule, supercite, Living with other packages +@node mu-cite, X-Face, supercite, Living with other packages @subsection mu-cite.el @pindex mu-cite @@ -6095,53 +6095,71 @@ If you use mu-cite version 8.1 or later: @end group @end lisp -@node x-face-mule, dired-dd, mu-cite, Living with other packages -@subsection x-face-mule.el -@pindex x-face-mule -@pindex bitmap-mule +@node X-Face, dired-dd, mu-cite, Living with other packages +@subsection x-face +@pindex x-face + +If you have installed one of the following, you can decode +@samp{X-Face:} field in message buffer and you will see face image. + +@menu +* x-face-xmas:: XEmacs case +* x-face-mule:: Emacs 19.34, 20.x case +* x-face-e21:: Emacs 21.x case +@end menu + +If there is an encoded X-Face string in a file @file{~/.xface} (the +value of the variable @code{wl-x-face-file}), it is inserted as a +@samp{X-Face:} field in the draft buffer (if +@code{wl-auto-insert-x-face} is non-nil). -It depends on the version of x-face-mule. -If you use x-face-mule 0.19 or older, do the following: +@node x-face-xmas, x-face-mule, X-Face, X-Face +@subsubsection x-face-xmas (for XEmacs) +@pindex x-face-xmas + +If you use @file{x-face-xmas.el} in x-face (@uref{ftp://jpl.org/pub/elisp/}) +1.3.6.13 or later, do the following: @lisp @group -(setq wl-highlight-x-face-function - (function - (lambda (&optional beg end) - (x-face-mule:x-face-decode-message-header)))) -(require 'x-face-mule) +(autoload 'x-face-xmas-wl-display-x-face "x-face") +(setq wl-highlight-x-face-function 'x-face-xmas-wl-display-x-face) @end group @end lisp -If you use x-face-mule 0.20 or later, try the following: +@node x-face-mule, x-face-e21, x-face-xmas, X-Face +@subsubsection x-face-mule (for Emacs 19.34, 20.x) +@pindex x-face-mule +@pindex bitmap-mule + +If you use @file{x-face-mule.el} in bitmap-mule +(@uref{ftp://ftp.jpl.org/pub/elisp/bitmap/}) 8.0 or later, do the following: @lisp @group -(setq wl-highlight-x-face-function - (function - (lambda (&optional beg end) - (x-face-mule-x-face-decode-message-header)))) -(require 'x-face-mule) +(autoload 'x-face-decode-message-header "x-face-mule") +(setq wl-highlight-x-face-function 'x-face-decode-message-header) @end group @end lisp -Use these settings when you use @file{x-face-mule.el} attached to -bitmap-mule 8.0 or later: +@node x-face-e21, , x-face-mule, X-Face +@subsubsection x-face-e21 (for Emacs 21.x) +@pindex x-face-e21 + +If you use @file{x-face-e21.el} (@uref{ftp://jpl.org/pub/elisp/}) +with bitmap-mule (@uref{ftp://ftp.jpl.org/pub/elisp/bitmap/}), +do the following: @lisp @group -(autoload 'x-face-decode-message-header "x-face-mule") +(require 'bitmap) +(autoload 'x-face-decode-message-header "x-face-e21") (setq wl-highlight-x-face-function 'x-face-decode-message-header) @end group @end lisp -If there is an encoded X-Face string in a file @file{~/.xface} (the -value of the variable @code{wl-x-face-file}), it is inserted as a -@samp{X-Face:} field in the draft buffer (if -@code{wl-auto-insert-x-face} is non-nil). - -@node dired-dd, MHC, x-face-mule, Living with other packages +@node dired-dd, MHC, X-Face, Living with other packages @subsection dired-dd(Dired-DragDrop) @pindex Dired-DragDrop @pindex Dired-DD -- 1.7.10.4