The problem is that `q' and `c' don't delete the summary window when
both the summary and message windows are showing, so the group buffer
takes its place in the old message window, and some other buffer appears
where the summary was.
Fix it with some advice. Hack hack.
;; We may have the misfortune to talk to an Exchange server.
(setq imap-enable-exchange-bug-workaround t)
;; We may have the misfortune to talk to an Exchange server.
(setq imap-enable-exchange-bug-workaround t)
+;; Clean up properly when closing the summary.
+(defadvice gnus-summary-exit (before mdw-kill-debris compile activate)
+ (gnus-summary-expand-window))
+
;;;--------------------------------------------------------------------------
;;; Local configuration.
;;;--------------------------------------------------------------------------
;;; Local configuration.