Subject: bug#13066: 24.2.90; setting rmail-summary-window-size causes error

From: Kenichi Handa <[email-masked]>
Date: Tue, 04 Dec 2012 22:33:09 +0900

In article <[email-masked]>, Glenn Morris <[email-masked]> writes:

> I think it's probably something to do with select-window selecting a
> buffer when it didn't before. At least it looks to me like
> the end of rmail-maybe-display-summary is changing buffer when in 24.2
> it seems not to.

> I think this makes the problem go away. Other uses are unaffected AFAICS.

Thank you.  That patch surely solved the problem.

---
Kenichi Handa
[email-masked]

> *** lisp/mail/rmailsum.el	2012-10-12 01:01:50 +0000
> --- lisp/mail/rmailsum.el	2012-12-04 02:10:21 +0000
> ***************
> *** 428,434 ****
>         ;; This is how rmail makes the summary buffer reappear.
>         ;; We do this here to make the window the proper size.
>         (rmail-select-summary nil)
> !       (set-buffer rmail-summary-buffer))
>       (rmail-summary-goto-msg mesg t t)
>       (rmail-summary-construct-io-menu)
>       (message "Computing summary lines...done")))
> --- 428,434 ----
>         ;; This is how rmail makes the summary buffer reappear.
>         ;; We do this here to make the window the proper size.
>         (rmail-select-summary nil)
> !       (set-buffer sumbuf))
>       (rmail-summary-goto-msg mesg t t)
>       (rmail-summary-construct-io-menu)
>       (message "Computing summary lines...done")))