GNU bug report logs - #13066
24.2.90; setting rmail-summary-window-size causes error

Previous Next

Package: emacs;

Reported by: Kenichi Handa <handa <at> gnu.org>

Date: Mon, 3 Dec 2012 13:49:01 UTC

Severity: normal

Found in version 24.2.90

Fixed in version 24.2.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Kenichi Handa <handa <at> gnu.org>
Cc: 13066 <at> debbugs.gnu.org
Subject: bug#13066: 24.2.90; setting rmail-summary-window-size causes error
Date: Thu, 06 Dec 2012 16:45:42 -0500
Glenn Morris wrote:

> This is also because rmail-maybe-display-summary behaves differently to
> how it used to.

I installed a fix for that to emacs-24.

> (progn
>  (message "1 : %s : %s" (current-buffer) (selected-window))
>  (set-buffer "*Messages*")
>  (message "2 : %s : %s" (current-buffer) (setq window
>  (selected-window)))
>  (select-window window)
>  (message "3 : %s : %s" (current-buffer) (setq window (selected-window))))
>
> With 24.2, the result is:
>
> 1 : *scratch* : #<window 3 on *scratch*>
> 2 : *Messages* : #<window 3 on *scratch*>
> 3 : *Messages* : #<window 3 on *scratch*>
>
> With 24.2.90, it is:
>
> 1 : *scratch* : #<window 3 on *scratch*>
> 2 : *Messages* : #<window 3 on *scratch*>
> 3 : *scratch* : #<window 3 on *scratch*>

I know select-window has always been documented to "make WINDOW's buffer
current", but I wouldn't be surprised if this change causes issues in
other places. So yes, maybe a NEWS entry might help a bit.




This bug report was last modified 12 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.