From: yamaoka Date: Mon, 22 Mar 2004 09:43:58 +0000 (+0000) Subject: Synch to No Gnus 200403220925. X-Git-Tag: t-gnus-6_17_4-quimby-~1002 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83cd129b161886f390ce25ec209b412775bc48cc;p=elisp%2Fgnus.git- Synch to No Gnus 200403220925. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e0d6df2..9196f2c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2004-03-18 Helmut Waitzmann (tiny change) + + * gnus-sum.el (gnus-newsgroup-variables): Doc fix. + 2004-03-22 Katsumi Yamaoka * mm-decode.el (mm-save-part): Bind enable-multibyte-characters to diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 8840095..5c6b097 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -1489,11 +1489,19 @@ This list will always be a subset of gnus-newsgroup-undownloaded.") (defvar gnus-newsgroup-variables nil "A list of variables that have separate values in different newsgroups. A list of newsgroup (summary buffer) local variables, or cons of -variables and their default values (when the default values are not -nil), that should be made global while the summary buffer is active. +variables and their default expressions to be evalled (when the default +values are not nil), that should be made global while the summary buffer +is active. + +Note: The default expressions will be evaluated (using function `eval') +before assignment to the local variable rather than just assigned to it. +If the default expression is the symbol `global', that symbol will not +be evaluated but the global value of the local variable will be used +instead. + These variables can be used to set variables in the group parameters -while still allowing them to affect operations done in other -buffers. For example: +while still allowing them to affect operations done in other buffers. +For example: \(setq gnus-newsgroup-variables '(message-use-followup-to diff --git a/texi/ChangeLog b/texi/ChangeLog index e48fab3..22c7283 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2004-03-18 Helmut Waitzmann (tiny change) + + * gnus.texi (Various Summary Stuff): Fix the documentation for + gnus-newsgroup-variables. + 2004-03-18 Raymond Scholz (tiny change) * gnus.texi (Misc Article): Refer to `Summary Buffer Mode Line' in diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index bd45625..db8f320 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -9556,11 +9556,18 @@ Gnus $B$,F1$8(B @code{Message-ID} $B$r;}$DFs$D$N5-;v$rH/8+$7$?$H$-$O!"2?$+;W$ @vindex gnus-newsgroup-variables @item gnus-newsgroup-variables $B%K%e!<%9%0%k!<%W(B ($B$=$N35N,%P%C%U%!$N(B) $B$N%m!<%+%kJQ?t!"$^$?$OJQ?t$H$=$l$i(B -$B$N%G%#%U%)%k%HCM(B ($B%G%#%U%)%k%HCM$,(B @code{nil} $B$G$J$$>l9g(B) $B$N(B cons $B%;%k$N(B -$B%j%9%H$G!"$=$N35N,%P%C%U%!$,3h$-$F$$$k4V$O%0%m!<%P%kJQ?t$K$J$j$^$9!#$3$l(B -$B$i$NJQ?t$O!"JL$N%P%C%U%!$G$=$l$i(B ($B%0%k!<%W%Q%i%a!<%?(B) $B$N8z2L$,JQ99$5$l$F(B -$B$$$F$b!"(B($B$=$N%0%k!<%W$N(B) $B%0%k!<%W%Q%i%a!<%?$NJQ?t$r@_Dj$9$k$?$a$K;H$&$3(B -$B$H$,$G$-$^$9!#Nc$G$9(B: +$B$NI>2A$5$l$k%G%#%U%)%k%H$NI=8=(B ($B%G%#%U%)%k%HCM$,(B @code{nil} $B$G$J$$>l(B +$B9g(B) $B$N(B cons $B%;%k$N%j%9%H$G!"$=$N35N,%P%C%U%!$,3h$-$F$$$k4V$O%0%m!<%P%kJQ(B +$B?t$K$J$j$^$9!#(B + +$BCm(B: $B%G%#%U%)%k%H$NI=8=$OC1$K%m!<%+%kJQ?t$K@_Dj$5$l$k$N$G$O$J$/!"$=$NA0(B +$B$K(B (@code{eval} $B4X?t$r;H$C$F(B) $BI>2A$5$l$^$9!#%G%#%U%)%k%H$NI=8=(B +$B$,(B @code{global} $B$H$$$&%7%s%\%k$@$C$?>l9g$OI>2A$5$l$:!"Be$o$j$K$=$N%m!<(B +$B%+%kJQ?t$N%0%m!<%P%kCM$,;H$o$l$^$9!#(B + +$B$3$l$i$NJQ?t$O!"JL$N%P%C%U%!$G$=$l$i(B ($B%0%k!<%W%Q%i%a!<%?(B) $B$N8z2L$,JQ99$5(B +$B$l$F$$$F$b!"(B($B$=$N%0%k!<%W$N(B) $B%0%k!<%W%Q%i%a!<%?$NJQ?t$r@_Dj$9$k$?$a$K;H(B +$B$&$3$H$,$G$-$^$9!#Nc$G$9(B: @lisp (setq gnus-newsgroup-variables @@ -9568,6 +9575,8 @@ Gnus $B$,F1$8(B @code{Message-ID} $B$r;}$DFs$D$N5-;v$rH/8+$7$?$H$-$O!"2?$+;W$ (gnus-visible-headers . "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^To:"))) @end lisp + +@pxref{Group Parameters} $B$b;2>H$7$F2<$5$$!#(B @end table @node Summary Group Information diff --git a/texi/gnus.texi b/texi/gnus.texi index 944e32f..b00b544 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -10186,11 +10186,19 @@ the list in one particular group: @vindex gnus-newsgroup-variables @item gnus-newsgroup-variables A list of newsgroup (summary buffer) local variables, or cons of -variables and their default values (when the default values are not -@code{nil}), that should be made global while the summary buffer is -active. These variables can be used to set variables in the group -parameters while still allowing them to affect operations done in -other buffers. For example: +variables and their default expressions to be evalled (when the default +values are not @code{nil}), that should be made global while the summary +buffer is active. + +Note: The default expressions will be evaluated (using function +@code{eval}) before assignment to the local variable rather than just +assigned to it. If the default expression is the symbol @code{global}, +that symbol will not be evaluated but the global value of the local +variable will be used instead. + +These variables can be used to set variables in the group parameters +while still allowing them to affect operations done in other +buffers. For example: @lisp (setq gnus-newsgroup-variables @@ -10199,6 +10207,7 @@ other buffers. For example: "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^To:"))) @end lisp +Also @pxref{Group Parameters}. @end table