From: yamaoka Date: Thu, 4 Mar 2004 08:44:25 +0000 (+0000) Subject: Synch to No Gnus 200403040843. X-Git-Tag: t-gnus-6_17_4-quimby-~1035 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=28fb71b686276ffd3cd58b03a231e4f7861e4c37;p=elisp%2Fgnus.git- Synch to No Gnus 200403040843. --- diff --git a/texi/ChangeLog b/texi/ChangeLog index 0ecbf8b..c863a5f 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2004-03-04 Katsumi Yamaoka + + * gnus.texi (X-Face, Face): Add gnus-x-face and + gnus-face-properties-alist. + 2004-03-04 Jesper Harder * texi2latex.el (latexi-translate-file): Support accents. diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index f215aca..9793f55 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -20863,7 +20863,8 @@ gnus $B$O$3$l$rMxMQ$9$k$3$H$K$7$^$9!#(B @vindex uncompface-use-external-threshold $B%[%9%H%^%7%s$,CY$$$+$I$&$+$r8!::$9$k$?$a$NIC?t$G$9!#(BELisp $B$G=q$+$l$?Fb(B $BIt(B @code{uncompface} $B%W%m%0%i%`$r;H$C$F(B @code{X-Face} $B$r%G%3!<%I$9$k$N$K(B -$B$+$+$k;~4V$,$3$NCM$h$jBg$-$$>l9g$O!"30It%G%3!<%@$N;HMQ$KJQ99$5$l$^$9!#(B +$B$+$+$k;~4V$,$3$NCM$h$jBg$-$$>l9g$O!"30It%G%3!<%@$N;HMQ$KJQ99$5$l$^$9!#%G%#(B +$B%U%)%k%H$O(B 0.1 $BIC$G$9!#(B @end table $BFbIt%G%3!<%@$,L58z$K$5$l$k>l9g!"$"$k$$$O(B XEmacs $B$r;H$C$F$$$k>l9g$O!"(B @@ -20894,6 +20895,41 @@ GNU/Linux $B%7%9%F%`$G$O(B @code{netpbm}$B!"(B@code{libgr-progs} $B$^$?(B ($BCm(B: $BJQ?t(B/$B4X?tL>$K$O(B @code{xface} $B$G$O$J$/(B @code{x-face} $B$,;H$o$l$^$9!#(B) +$B%U%'!<%9$HJQ?t(B: + +@table @code +@item gnus-x-face +@vindex gnus-x-face +X-Face $B$rI=<($9$k$?$a$N%U%'!<%9!#$3$N%U%'!<%9$N?'$,I=<($5$l$k(B X-Face $B$N(B +$BA07J?'$HGX7J?'$H$7$F;H$o$l$^$9!#%G%#%U%)%k%H$N?'$OGr$H9u$G$9!#(B + +@item gnus-face-properties-alist +@vindex gnus-face-properties-alist +Face (@pxref{Face}) $B$H(B X-Face $B2hA|$KE,MQ$5$l$k!"2hA|$N7A<0$H%W%m%Q%F%#$N(B +$BO"A[%j%9%H$G$9!#%G%#%U%)%k%HCM$O(B Emacs $BMQ$N(B @code{((pbm . (:face +gnus-x-face)) (png . nil))} $B$^$?$O(B XEmacs $BMQ$N(B @code{((xface . (:face +gnus-x-face)))} $B$G$9!#Nc$r5s$2$^$7$g$&(B: + +@lisp +;; From $B%X%C%@!<$K$*$1$k(B Face $B$H(B X-Face $B$N9b$5$r;XDj$7$^$9!#(B +(setq gnus-face-properties-alist + '((pbm . (:face gnus-x-face :ascent 80)) + (png . (:ascent 80)))) + +;; Face $B$H(B X-Face $B$r1z$s$@%\%?%s$N$h$&$KI=<($7$^$9!#(B +(setq gnus-face-properties-alist + '((pbm . (:face gnus-x-face :relief -2)) + (png . (:relief -2)))) +@end lisp + +$B$$$m$$$m$J2hA|$N7A<0$GMxMQ2DG=$J%W%m%Q%F%#$K$D$$$F$O(B @pxref{Image +Descriptors, ,Image Descriptors, elisp, The Emacs Lisp Reference +Manual} $B$r;2>H$7$F2<$5$$!#:#$N$H$3$m(B Emacs $B$G$O(B @code{pbm} $B$,(B X-Face $B2h(B +$BA|$K;H$o$l!"(B @code{png} $B$,(B Face $B2hA|$K;H$o$l$^$9!#(BXEmacs $B$G$O!"$=$l(B +$B$,(B @samp{libcompface} $B%i%$%V%i%j$H$H$b$K9=C[$5$l$F$$$l$P!"(B +@code{xface} $B2hA|7A<0$K(B @code{:face} $B%W%m%Q%F%#$@$1$,8z2L$r5Z$\$7$^$9!#(B +@end table + gnus $B$O!"30$K=P$9%a%C%;!<%8$K(B X-Face $B%X%C%@!<$r4JC1$KA^F~$9$k$?$a$N!"JX(B $BMx$J4X?t$HJQ?t$r>/$7$P$+$jDs6!$7$^$9!#(B @@ -20951,6 +20987,9 @@ gnus $B$O!"30$K=P$9%a%C%;!<%8$K(B X-Face $B%X%C%@!<$r4JC1$KA^F~$9$k$?$a$N!"JX $B$l$P$J$j$^$;$s!#@53N$J;EMM$K$D$$$F!"(B @uref{http://quimby.gnus.org/circus/face/} $B$r;2>H$7$F2<$5$$!#(B +$BJQ?t(B @code{gnus-face-properties-alist} $B$OI=<($5$l$k(B Face $B2hA|$N304Q$K1F(B +$B6A$7$^$9!#(B@xref{X-Face}. + $BAw?.$9$k%a%C%;!<%8$K4JC1$K(B Face $B%X%C%@!<$rA^F~$G$-$k$h$&$K$9$k$?$a$K!"(B Gnus $B$O(B 2$B!A(B3 $B$N4X?t$HJQ?t$rDs6!$7$^$9!#(B diff --git a/texi/gnus.texi b/texi/gnus.texi index ae3c8c8..2ab19b3 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -21684,11 +21684,10 @@ whether the host machine is slow, being controlled by @item uncompface-use-external-threshold @vindex uncompface-use-external-threshold -@vindex uncompface-use-external-threshold A number of seconds to check whether the host machine is slow. If the host takes time larger than this value for decoding an @code{X-Face} using the internal ELisp-based @code{uncompface} program, it will be -changed to using the external decoder. +changed to using the external decoder. The default is 0.1 seconds. @end table If the internal decoder is invalidated or if you are using XEmacs, @@ -21722,6 +21721,43 @@ like @code{netpbm}, @code{libgr-progs} and @code{compface}.}) (Note: @code{x-face} is used in the variable/function names, not @code{xface}). +@noindent +Face and variable: + +@table @code +@item gnus-x-face +@vindex gnus-x-face +Face to show X-Face. The colors from this face are used as the +foreground and background colors of the displayed X-Faces. The +default colors are black and white. + +@item gnus-face-properties-alist +@vindex gnus-face-properties-alist +Alist of image types and properties applied to Face (@pxref{Face}) and +X-Face images. The default value is @code{((pbm . (:face gnus-x-face)) +(png . nil))} for Emacs or @code{((xface . (:face gnus-x-face)))} for +XEmacs. Here are examples: + +@lisp +;; Specify the altitude of Face and X-Face images in the From header. +(setq gnus-face-properties-alist + '((pbm . (:face gnus-x-face :ascent 80)) + (png . (:ascent 80)))) + +;; Show Face and X-Face images as pressed buttons. +(setq gnus-face-properties-alist + '((pbm . (:face gnus-x-face :relief -2)) + (png . (:relief -2)))) +@end lisp + +@pxref{Image Descriptors, ,Image Descriptors, elisp, The Emacs Lisp +Reference Manual} for the valid properties for various image types. +Currently, @code{pbm} is used for X-Face images and @code{png} is used +for Face images in Emacs. Only the @code{:face} property is effective +on the @code{xface} image type in XEmacs if it is built with the +@samp{libcompface} library. +@end table + Gnus provides a few convenience functions and variables to allow easier insertion of X-Face headers in outgoing messages. @@ -21782,6 +21818,9 @@ The contents of a @code{Face} header must be a base64 encoded PNG image. See @uref{http://quimby.gnus.org/circus/face/} for the precise specifications. +The @code{gnus-face-properties-alist} variable affects the appearance of +displayed Face images. @xref{X-Face}. + Gnus provides a few convenience functions and variables to allow easier insertion of Face headers in outgoing messages.