hierarchical folder structure with UW-imapd.
+2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
+ hierarchical folder structure with UW-imapd.
+
2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
root)))
(setq root (concat root delim)))
(while (setq folder (car result))
- (when (string-match
- (concat "^\\(" (regexp-quote root) "[^" re-delim "]" "+\\)"
- re-delim)
- folder)
- (setq folder (match-string 1 folder)))
- (setq has-child-p nil
- result (delq
+ (setq has-child-p
+ (when (string-match
+ (concat "^\\(" (regexp-quote root) "[^" re-delim "]" "+\\)"
+ re-delim)
+ folder)
+ (setq folder (match-string 1 folder))))
+ (setq result (delq
nil
(mapcar (lambda (fld)
(if (string-match