The combination of (sit-for 0) to causeredisplay followed by a (sleep-for <n>) solved the problemcompletely for me.Well, one more problem remains here. If the new frame is created withits window showing buffer1 and then set-window-buffer is used tochange it to buffer2 (or even if switch-to-buffer is used), buffer2 isnot displayed when the new frame is temporarily displayed (buffer1 is).Not until after Emacs becomes idle againis buffer2 displayed in this newframe.