* elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
authoryoichi <yoichi>
Mon, 15 May 2006 13:51:36 +0000 (13:51 +0000)
committeryoichi <yoichi>
Mon, 15 May 2006 13:51:36 +0000 (13:51 +0000)
(elmo-global-flags-initialize): Ditto.

elmo/ChangeLog
elmo/elmo-flag.el

index 4a4f8ef..fa29191 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
+       (elmo-global-flags-initialize): Ditto.
+
 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
 
        * elmo-archive.el (toplevel): Don't require emu, std11
index 7a64396..0ee9397 100644 (file)
 
 (luna-define-method elmo-folder-expand-msgdb-path ((folder elmo-flag-folder))
   (expand-file-name (concat "flag/"
-                           (symbol-name
-                            (elmo-flag-folder-flag-internal folder)))
+                           (elmo-replace-string-as-filename
+                            (symbol-name
+                             (elmo-flag-folder-flag-internal folder))))
                    elmo-msgdb-directory))
 
 (luna-define-method elmo-folder-commit :after ((folder
@@ -451,7 +452,8 @@ If optional IGNORE-PRESERVED is non-nil, preserved flags
             elmo-global-flags
             additional-flags
             (and (file-directory-p dir)
-                 (mapcar 'intern
+                 (mapcar (lambda (x)
+                           (intern (elmo-recover-string-from-filename x)))
                          (elmo-list-delete
                           '(".." ".")
                           (directory-files dir))))))