Knut Anders Hatlen writes: > Lars Magne Ingebrigtsen writes: > >> Knut Anders Hatlen writes: >> >>> *nnimap *nntpd** says this after M-g: >> >> [...] >> >>> * OK [PERMANENTFLAGS (%Seen %Deleted %Answered %Forwarded %Redirected %Flagged %Hidden %Draft $MDNSent)] Permanent flags^M >> >> [...] >> >>> * 202 FETCH (FLAGS (%Flagged) UID 1215)^M >> >> Looks OK. What does `G E' on the group after this look like? > > ("mail.autoderby" 3 > ((1 . 1222)) > ((seen (1223 . 1224))) > nil > ((modseq) > (uidvalidity . "6567453") > (active 1012 . 1224) > (permanent-flags %Seen %Deleted %Answered %Forwarded %Redirected %Flagged %Hidden %Draft $MDNSent))) Found it. The server doesn't have \* in PERMANENTFLAGS. And the non-QRESYNC code in nnimap-update-info fails to see that \Flagged is supported because it checks whether (%Flagged 1012 1027 ...) is member of permanent-flags. So it seems it's just missing a call to car before calling memq. The attached patch made the problem go away for me. -- Knut Anders