title: Can I make emacs grep windows just use the other window to open files in?
body: <p>I've got emacs in front of me.</p>
  
  <p>I've run a find-grep, and it's got many hits, which are displayed in a window. The file names are displayed in green as hyperlinks.</p>
  
  <p>I make that the only window, with C-x 1.</p>
  
  <p>If I click on a file name, the window splits vertically, and the file with the found text is displayed in the other window.</p>
  
  <p>If I click on further filenames, then the new file replaces the old file, which is what I want to happen.</p>
  
  <p>So far, so good...</p>
  
  <p>However if I resize the windows, then emacs will periodically (when I click) split one of the two windows again, rendering the display difficult to read. It will then cycle opening new files between the two new windows. Occasionally it will open more windows and make the situation worse. If I close any of these new windows they just get reopened again.</p>
  
  <p>In fact sometimes this perverse behaviour happens even if I don't resize anything. It just seems to happen more often if I do.</p>
  
  <p>I would like emacs to stop buggering around and just have one find-grep window and one 'display' window, and always replace the display window with the new file. I would also like to be able to set these windows to the sizes that seem most convenient.</p>
  
  <p>Is there any way to achieve this? </p>
  
  <p>Or can anyone point me to an essay on how the whole (replace the contents of this window/replace the contents of a different window/create another window by splitting) thing works, so I can go and hack it sane.</p>