+2004-03-18 Helmut Waitzmann <Helmut.Waitzmann@web.de> (tiny change)
+
+ * gnus-sum.el (gnus-newsgroup-variables): Doc fix.
+
2004-03-22 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-decode.el (mm-save-part): Bind enable-multibyte-characters to
(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
+2004-03-18 Helmut Waitzmann <Helmut.Waitzmann@web.de> (tiny change)
+
+ * gnus.texi (Various Summary Stuff): Fix the documentation for
+ gnus-newsgroup-variables.
+
2004-03-18 Raymond Scholz <ray-2004@zonix.de> (tiny change)
* gnus.texi (Misc Article): Refer to `Summary Buffer Mode Line' in
@vindex gnus-newsgroup-variables
@item gnus-newsgroup-variables
\e$B%K%e!<%9%0%k!<%W\e(B (\e$B$=$N35N,%P%C%U%!$N\e(B) \e$B$N%m!<%+%kJQ?t!"$^$?$OJQ?t$H$=$l$i\e(B
-\e$B$N%G%#%U%)%k%HCM\e(B (\e$B%G%#%U%)%k%HCM$,\e(B @code{nil} \e$B$G$J$$>l9g\e(B) \e$B$N\e(B cons \e$B%;%k$N\e(B
-\e$B%j%9%H$G!"$=$N35N,%P%C%U%!$,3h$-$F$$$k4V$O%0%m!<%P%kJQ?t$K$J$j$^$9!#$3$l\e(B
-\e$B$i$NJQ?t$O!"JL$N%P%C%U%!$G$=$l$i\e(B (\e$B%0%k!<%W%Q%i%a!<%?\e(B) \e$B$N8z2L$,JQ99$5$l$F\e(B
-\e$B$$$F$b!"\e(B(\e$B$=$N%0%k!<%W$N\e(B) \e$B%0%k!<%W%Q%i%a!<%?$NJQ?t$r@_Dj$9$k$?$a$K;H$&$3\e(B
-\e$B$H$,$G$-$^$9!#Nc$G$9\e(B:
+\e$B$NI>2A$5$l$k%G%#%U%)%k%H$NI=8=\e(B (\e$B%G%#%U%)%k%HCM$,\e(B @code{nil} \e$B$G$J$$>l\e(B
+\e$B9g\e(B) \e$B$N\e(B cons \e$B%;%k$N%j%9%H$G!"$=$N35N,%P%C%U%!$,3h$-$F$$$k4V$O%0%m!<%P%kJQ\e(B
+\e$B?t$K$J$j$^$9!#\e(B
+
+\e$BCm\e(B: \e$B%G%#%U%)%k%H$NI=8=$OC1$K%m!<%+%kJQ?t$K@_Dj$5$l$k$N$G$O$J$/!"$=$NA0\e(B
+\e$B$K\e(B (@code{eval} \e$B4X?t$r;H$C$F\e(B) \e$BI>2A$5$l$^$9!#%G%#%U%)%k%H$NI=8=\e(B
+\e$B$,\e(B @code{global} \e$B$H$$$&%7%s%\%k$@$C$?>l9g$OI>2A$5$l$:!"Be$o$j$K$=$N%m!<\e(B
+\e$B%+%kJQ?t$N%0%m!<%P%kCM$,;H$o$l$^$9!#\e(B
+
+\e$B$3$l$i$NJQ?t$O!"JL$N%P%C%U%!$G$=$l$i\e(B (\e$B%0%k!<%W%Q%i%a!<%?\e(B) \e$B$N8z2L$,JQ99$5\e(B
+\e$B$l$F$$$F$b!"\e(B(\e$B$=$N%0%k!<%W$N\e(B) \e$B%0%k!<%W%Q%i%a!<%?$NJQ?t$r@_Dj$9$k$?$a$K;H\e(B
+\e$B$&$3$H$,$G$-$^$9!#Nc$G$9\e(B:
@lisp
(setq gnus-newsgroup-variables
(gnus-visible-headers .
"^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^To:")))
@end lisp
+
+@pxref{Group Parameters} \e$B$b;2>H$7$F2<$5$$!#\e(B
@end table
@node Summary Group Information
@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
"^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^To:")))
@end lisp
+Also @pxref{Group Parameters}.
@end table