(gnus-namazu/make-directory-table): Treat drive letters when
authorTSUCHIYA Masatoshi <tsuchiya@namazu.org>
Fri, 30 Jul 2004 10:12:55 +0000 (10:12 +0000)
committerTSUCHIYA Masatoshi <tsuchiya@namazu.org>
Fri, 30 Jul 2004 10:12:55 +0000 (10:12 +0000)
calcurating pathnames of remote groups.

contrib/ChangeLog
contrib/gnus-namazu.el

index a7e8bda..0db5f62 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-30  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
+
+       * gnus-namazu.el (gnus-namazu/make-directory-table): Treat drive
+       letters when calcurating pathnames of remote groups.
+
 2004-05-27  Simon Josefsson  <jas@extundo.com>
 
        * starttls.el: Moved to ../lisp/.
index bd8a94e..40c35a1 100644 (file)
@@ -371,7 +371,12 @@ This means that the group \"nnimap+server:INBOX.group\" is placed in
               (setq dir (nnmail-group-pathname
                          (substring group (match-end 0))
                          "/"))
-              (push (cons (concat (cdr pair) (substring dir 1)) group)
+              (push (cons (concat (cdr pair)
+                                  ;; nnmail-group-pathname() on some
+                                  ;; systems returns pathnames which
+                                  ;; have drive letters at their top.
+                                  (substring dir (1+ (string-match "/" dir))))
+                          group)
                     alist)))))
        gnus-newsrc-hashtb)
       (dolist (pair (nconc agent cache alist))