* nnmaildir.el (nnmaildir--article-count): If the group is
authorPaul Jarc <prj@po.cwru.edu>
Wed, 13 Feb 2002 19:04:21 +0000 (19:04 +0000)
committerPaul Jarc <prj@po.cwru.edu>
Wed, 13 Feb 2002 19:04:21 +0000 (19:04 +0000)
completely empty, report minimum article number as 1 instead of 0.

lisp/ChangeLog
lisp/nnmaildir.el

index 9b1bb32..7625abd 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-13  Paul Jarc  <prj@po.cwru.edu>
+
+       * 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  <zsh@cs.rochester.edu>
 
        * gnus-agent.el (gnus-get-predicate): Use nconc.
index 9525854..1290c9a 100644 (file)
 ;;   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