Because I want a guaranteed new frame with the explicitly specified buffer.
I assume this is also an issue for child frames--make_frame doesn't distinguish during buffer selection?
The following works but is wonky (kind of annoying) because it first shows a non-hidden buffer, and then switches to the one I really want (note that string pixel width is just an example that we all have at hand):
(with-selected-frame (make-frame)
;; (select-frame-set-input-focus (selected-frame)) ; might need based on platform
(switch-to-buffer " *string-pixel-width*"))
-Stephane