Subject: bug#11242: 24.1.50; Switching to rmai view buffer

From: martin rudalics <[email-masked]>
Date: Sat, 14 Apr 2012 15:30:10 +0200

> It happened after I typed C-c C-c at the *mail* buffer.
 > It switched to ` *message-viewer RMAIL*'.spontaneously.
 > It has happened several times recently.
 >
 > The buffers whose names start with space should never be
 > shown to the user unless expicitly requested.
 >
 > I will continue investigating.

Could you try running your Emacs with something like

(defun wcch ()
   (when (get-buffer-window " *message-viewer RMAIL*" t)
     (backtrace)))

(add-hook 'window-configuration-change-hook 'wcch)

activated?

martin