> With this, start Emacs, open a file, foo.tex say, and in the > mini-buffer of the frame displaying foo.tex do occur->some text, so > that the occur-buffer displays in its own frame. Now, in the > mini-buffer of the frame with foo.tex do bury-buffer. Then also this > frame displays the occur-buffer, so that I end up with two frames > displaying the same occur-buffer. How to solve this problem? You can't and I am to blame for that. 'switch-to-visible-buffer' is simply too weak to handle your case. Please apply the attached patch and set 'switch-to-buffer-skip-visible' to 'visible or t. Eli this was a regression in Emacs 24 that went unnoticed so far. Any objections to install? martin