1 file changed, 6 insertions(+), 1 deletion(-) lisp/nnimap.el | 7 ++++++- Modified lisp/nnimap.el diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 1730bd4..4e07495 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1230,7 +1230,12 @@ If LIMIT, first try to limit the search to the N last articles." (while (search-forward "* LIST " nil t) (let ((flags (read (current-buffer))) (separator (read (current-buffer))) - (group (read (current-buffer)))) + (group (buffer-substring-no-properties + (progn (skip-chars-forward " \"") + (point)) + (progn (move-end-of-line 1) + (skip-chars-backward " \" ") + (point))))) (unless (member '%NoSelect flags) (push (utf7-decode (if (stringp group) group