From: Paul Jarc Date: Wed, 13 Feb 2002 19:04:21 +0000 (+0000) Subject: * nnmaildir.el (nnmaildir--article-count): If the group is X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;h=fe6f666483f110b285e0f717d3b1bf1faaa391a3;p=gnus * nnmaildir.el (nnmaildir--article-count): If the group is completely empty, report minimum article number as 1 instead of 0. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9b1bb32a9..7625abdd6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-02-13 Paul Jarc + + * nnmaildir.el (nnmaildir--article-count): If the group is + completely empty, report minimum article number as 1 instead of 0. + 2002-02-13 ShengHuo ZHU * gnus-agent.el (gnus-get-predicate): Use nconc. diff --git a/lisp/nnmaildir.el b/lisp/nnmaildir.el index 9525854ac..1290c9af4 100644 --- a/lisp/nnmaildir.el +++ b/lisp/nnmaildir.el @@ -33,10 +33,10 @@ ;; ignored; no need for -generate-nov-databases. ;; * Perfect reliability: [C-g] will never corrupt its data in memory, ;; and SIGKILL will never corrupt its data in the filesystem. -;; * We make it easy to manipulate marks, etc., from outside Gnus. +;; * We use the filesystem as a database, so that, e.g., it's easy to +;; manipulate marks from outside Gnus. ;; * All information about a group is stored in the maildir, for easy ;; backup, copying, restoring, etc. -;; * We use the filesystem as a database. ;; ;; Todo: ;; * Don't force article renumbering, so nnmaildir can be used with @@ -464,7 +464,7 @@ by nnmaildir-request-article.") (defun nnmaildir--article-count (group) (let ((ct 0) - (min 0)) + (min 1)) (setq group (nnmaildir--grp-get-lists group) group (nnmaildir--lists-get-nlist group)) (while group