On 11/28/2012 05:09 PM, Juanma Barranquero wrote: > What result did you expect? In my use case, the assertion still fails. OK. Your crash recipe from Bug#13012 (which I can reproduce) hits the corner case where XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer; this should be fixed by always examining window buffer instead of current. This should works for mini windows too, but I'm not 100% sure about pseudo windows. Drew, since I can't reproduce your crash, could you please a) try this patch and b) check whether window with non-zero pseudo_window_p field is passed to window_outdated_p? Dmitry