;; 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.