On 01/03/2023 14:10, Po Lu wrote: > This log (``err-okay.log'') was generated when you encountered the > problem, right? Nope, it's for the "no problem" case. Hence the name. > Because here, the buffer swap happens 400 ms after > the frame title changes. > >> x_set_title: *scratch* - GNU Emacs at potemkin, 554169702405 >> show_back_buffer: 554169844161 >> show_back_buffer: 554169930769 >> show_back_buffer: 554169943915 >> show_back_buffer: 554170059535 >> show_back_buffer: 554170197598 >> show_back_buffer: 554170246100 >> x_set_title: xassociations.rb - GNU Emacs at potemkin, 554170246258 >> show_back_buffer: 554170256469 >> show_back_buffer: 554170744241 > > While these two appear to be fine, with the buffer swap happening only > ~15ms afterwards. So are you sure your description is correct? I am sure, but just to verify, I redid the experiment again. See attached files, the naming scheme is the same: two problem cases and one "okay" case.