* elmo-imap4.el (elmo-folder-initialize): Use `elmo-imap4-encode-folder-string'
authorteranisi <teranisi>
Tue, 9 Oct 2001 09:31:35 +0000 (09:31 +0000)
committerteranisi <teranisi>
Tue, 9 Oct 2001 09:31:35 +0000 (09:31 +0000)
 for folder name.

elmo/ChangeLog
elmo/elmo-imap4.el

index 2a85cc0..c640973 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * elmo-imap4.el (elmo-folder-initialize): Use
+       `elmo-imap4-encode-folder-string' for folder name.
+
 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
index eb9ff61..22f3c1e 100644 (file)
@@ -1753,16 +1753,19 @@ Return nil if no complete line has arrived."
            (progn
              (elmo-imap4-folder-set-mailbox-internal
               folder
-              (elmo-match-string 1 name))
+              (elmo-imap4-encode-folder-string
+               (elmo-match-string 1 name)))
              (if (eq (length (elmo-imap4-folder-mailbox-internal folder))
                      0)
                  ;; No information is specified other than folder type.
                  (elmo-imap4-folder-set-mailbox-internal
                   folder
-                  elmo-imap4-default-mailbox)))
+                  (elmo-imap4-encode-folder-string
+                   elmo-imap4-default-mailbox))))
          (elmo-imap4-folder-set-mailbox-internal
           folder
-          elmo-imap4-default-mailbox))
+          (elmo-imap4-encode-folder-string
+           elmo-imap4-default-mailbox)))
        ;; Setup slots for elmo-net-folder.
        (elmo-net-folder-set-user-internal
         folder