Subject: Re: bug#1806: dired-pop-to-buffer in wrong place

From: Stefan Monnier <[email-masked]>
Date: Wed, 14 Jan 2009 17:19:04 -0500

> What about putting this in `pop-up-windows'?  Possible values are:

> nil		do not allow popping up windows
> 'this		selected window
> 'below	  	below selected window
> 'below-split	split selected window vertically
> 'right		right of selected window
> 'right-split	split selected window horizontally
> 'bottom		use window near bottom of frame
> 'bottom-split	split window near bottom of frame
> t		allow popping up windows

> If an application (like dired) sees that this variable is t (the
> default) it may ask to pop up the window wherever it's most suitable.
> Otherwise, it has to respect the value chosen by the user.  Like

> (let ((pop-up-windows (if (eq pop-up-windows t)
> 			  'bottom-split
> 			pop-up-windows)))
>   (display-buffer ...))

But how would the user override this behavior in a way that can depend
on the buffer being shown (i.e. via special-display-buffer-names)?

        Stefan