From 062c8b5476276cbd862e78a0fff32e935863d69a Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sat, 25 Aug 2001 15:43:36 +0000 Subject: [PATCH] 2001-08-25 Simon Josefsson * nnml.el (nnml-marks-is-evil): Add doc. --- lisp/ChangeLog | 4 ++++ lisp/nnml.el | 23 +++++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d03092b8..0ad1bcc56 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-08-25 Simon Josefsson + + * nnml.el (nnml-marks-is-evil): Add doc. + 2001-08-25 Simon Josefsson * nnml.el (nnml-save-marks): Wrap saving marks in a diff --git a/lisp/nnml.el b/lisp/nnml.el index 23138b472..f88318e3f 100644 --- a/lisp/nnml.el +++ b/lisp/nnml.el @@ -2,7 +2,8 @@ ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 ;; Free Software Foundation, Inc. -;; Author: Lars Magne Ingebrigtsen +;; Author: Simon Josefsson (adding MARKS) +;; Lars Magne Ingebrigtsen ;; Masanobu UMEDA ;; Keywords: news, mail @@ -61,7 +62,7 @@ This variable is a virtual server slot. See the Gnus manual for details.") This variable is a virtual server slot. See the Gnus manual for details.") (defvoo nnml-nov-is-evil nil - "If non-nil, Gnus will never generate and use nov databases for mail groups. + "If non-nil, Gnus will never generate and use nov databases for mail spools. Using nov databases will speed up header fetching considerably. This variable shouldn't be flipped much. If you have, for some reason, set this to t, and want to set it to nil again, you should always run @@ -71,6 +72,17 @@ all. This may very well take some time. This variable is a virtual server slot. See the Gnus manual for details.") +(defvoo nnml-marks-is-evil nil + "If non-nil, Gnus will never generate and use marks file for mail spools. +Using marks files makes it possible to backup and restore mail groups +separately from `.newsrc.eld'. If you have, for some reason, set this +to t, and want to set it to nil again, you should always remove the +corresponding marks file (usually named `.marks' in the nnml group +directory, but see `nnml-marks-file-name') for the group. Then the +marks file will be regenerated properly by Gnus. + +This variable is a virtual server slot. See the Gnus manual for details.") + (defvoo nnml-prepare-save-mail-hook nil "Hook run narrowed to an article before saving. @@ -88,6 +100,7 @@ This variable is a virtual server slot. See the Gnus manual for details.") "nnml version.") (defvoo nnml-nov-file-name ".overview") +(defvoo nnml-marks-file-name ".marks") (defvoo nnml-current-directory nil) (defvoo nnml-current-group nil) @@ -106,6 +119,8 @@ check twice.") (defvoo nnml-file-coding-system nnmail-file-coding-system) +(defvoo nnml-marks nil) + ;;; Interface functions. @@ -858,10 +873,6 @@ check twice.") (setq nnml-article-file-alist (nnheader-article-to-file-alist nnml-current-directory)))) -(defvoo nnml-marks-file-name ".marks") -(defvoo nnml-marks-is-evil nil) -(defvoo nnml-marks nil) - (deffoo nnml-request-set-mark (group actions &optional server) (nnml-possibly-change-directory group server) (unless nnml-marks-is-evil -- 2.25.1