X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=blobdiff_plain;f=lisp%2Fnnml.el;fp=lisp%2Fnnml.el;h=ba64ae8b092f41ca5e5ad93a3b2040fc1b2245a9;hp=46a6d903f7e2b502a0e1978c705b6b13ae822645;hb=370f89245bc0358ccaf7a477a931557f1594cf2d;hpb=5c2ce9d41f3661c416a26dd6c8a6339aa605fb66 diff --git a/lisp/nnml.el b/lisp/nnml.el index 46a6d903f..ba64ae8b0 100644 --- a/lisp/nnml.el +++ b/lisp/nnml.el @@ -1,7 +1,8 @@ ;;; nnml.el --- mail spool access for Gnus ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +;; Foundation, Inc. ;; Authors: Didier Verna (adding compaction) ;; Simon Josefsson (adding MARKS) @@ -235,7 +236,11 @@ non-nil.") (nnheader-article-to-file-alist (setq gpath (nnml-group-pathname (car group-num) nil server)))))) - (setq path (concat gpath (int-to-string (cdr group-num))))) + (nnml-update-file-alist) + (setq path (concat gpath (if nnml-use-compressed-files + (cdr (assq (cdr group-num) + nnml-article-file-alist)) + (number-to-string (cdr group-num)))))) (setq path (nnml-article-to-file id))) (cond ((not path)