* elmo-nntp.el (elmo-nntp-get-folders-info): Fixed problem when '\' character
authorteranisi <teranisi>
Fri, 1 Dec 2000 04:00:54 +0000 (04:00 +0000)
committerteranisi <teranisi>
Fri, 1 Dec 2000 04:00:54 +0000 (04:00 +0000)
 is contained in user-id.  (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)

elmo/ChangeLog
elmo/elmo-nntp.el

index c2e0d37..1e5827b 100644 (file)
@@ -1,3 +1,10 @@
+2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * elmo-nntp.el (elmo-nntp-get-folders-info):
+       Fixed problem when '\' character is contained in user-id.
+       (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
+
+\f
 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-imap4.el (elmo-imap4-delete-folder):
index 376bf47..1cc964c 100644 (file)
@@ -1141,7 +1141,10 @@ Returns a list of cons cells like (NUMBER . VALUE)"
            (if (not (string= postfix ""))
                (save-excursion
                  (replace-regexp "^\\(211 [0-9]+ [0-9]+ [0-9]+ [^ \n]+\\).*$"
-                                 (concat "\\1" postfix)))))
+                                 (concat "\\1"
+                                         (elmo-replace-in-string
+                                          postfix
+                                          "\\\\" "\\\\\\\\"))))))
          (let (len min max group)
            (while (not (eobp))
              (condition-case ()