bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: martin rudalics
Subject: bug#1806: dired-pop-to-buffer in wrong place
Date: Wed, 14 Jan 2009 22:55:36 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> And that's good: the list should be close to the question, not close to
> the dired buffer.

If the dired buffer were not needed while asking the question, dired
could temporarily display that list in the dired window itself and
switch back to the dired buffer afterwards.  But I never use dired.

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 ...))

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]