bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching t


From: martin rudalics
Subject: bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer
Date: Sat, 03 Sep 2011 13:01:14 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

>  emacs -Q
>  M-x list-colors-display RET
>  C-x 1
>  C-x 5 b *Colors* RET
>  C-x b foo RET
>  C-x b *Colors* RET
>  C-x k
>
> Boom! the frame is deleted, although there's at least one more buffer
> (`foo') in that frame's nuffer list.
>
> This happens because window-deletable-p returns `frame' for the window
> of the *Colors* buffer.  It does so because that buffer's window's
> quit-restore parameter has `new-frame' as its car.  Why is that so, I
> don't know; quit-restore doesn't seem to be documented anywhere, only
> mentioned in a few doc strings without any explanation.  Perhaps the
> reason is that *Colors* was the first buffer on that frame?

*Colors* was the buffer recorded in the quit-restore parameter.  I
installed a fix in revision 105644 and closed the bug.  Please check.

Thanks, martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]