2001-11-15 14:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 15 Nov 2001 19:16:49 +0000 (19:16 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 15 Nov 2001 19:16:49 +0000 (19:16 +0000)
* nnfolder.el (nnfolder-save-marks): gnus-prin1 takes one argument.
* nnml.el (nnml-save-marks): Ditto.

* gnus-sum.el (gnus-newsgroup-variables): Fix doc.

lisp/ChangeLog
lisp/gnus-sum.el
lisp/nnfolder.el
lisp/nnml.el

index 86194f9..aa325cf 100644 (file)
@@ -1,3 +1,10 @@
+2001-11-15 14:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * nnfolder.el (nnfolder-save-marks): gnus-prin1 takes one argument.
+       * nnml.el (nnml-save-marks): Ditto.
+       
+       * gnus-sum.el (gnus-newsgroup-variables): Fix doc.
+
 2001-11-15  Simon Josefsson  <jas@extundo.com>
 
        * nnml.el (nnml-save-marks):
index e6d6fe0..2c6e078 100644 (file)
@@ -1263,7 +1263,19 @@ the type of the variable (string, integer, character, etc).")
   "Variables that are buffer-local to the summary buffers.")
 
 (defvar gnus-newsgroup-variables nil
-  "Variables that have separate values in the newsgroups.")
+  "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.
+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:
+
+(setq gnus-newsgroup-variables 
+     '(message-use-followup-to
+       (gnus-visible-headers . 
+        \"^From:\\\\|^Newsgroups:\\\\|^Subject:\\\\|^Date:\\\\|^To:\")))
+")
 
 ;; Byte-compiler warning.
 (eval-when-compile (defvar gnus-article-mode-map))
index 149b87b..1f96ab9 100644 (file)
@@ -1215,7 +1215,7 @@ This command does not work if you use short group names."
        (progn
          (with-temp-file file
            (erase-buffer)
-           (gnus-prin1 nnfolder-marks (current-buffer))
+           (gnus-prin1 nnfolder-marks)
            (insert "\n"))
          (gnus-sethash file
                        (nth 5 (file-attributes file))
index 517bd1f..b2fc373 100644 (file)
@@ -991,7 +991,7 @@ Use the nov database for the current group if available."
          (nnml-possibly-create-directory group)
          (with-temp-file file
            (erase-buffer)
-           (gnus-prin1 nnml-marks (current-buffer))
+           (gnus-prin1 nnml-marks)
            (insert "\n"))
          (gnus-sethash file
                        (nth 5 (file-attributes file))