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

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

bug#6204: vc-dir always splits the frame


From: martin rudalics
Subject: bug#6204: vc-dir always splits the frame
Date: Thu, 27 May 2010 19:26:13 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

>>> Some of the intention behind the `default-params' would be to get rid of
>>> calls to switch-to-buffer (replaced by calls to pop-to-buffer with
>>> a same-window default-param).  Such cases already disregard
>>> pop-up-windows and pop-up-frames, so ignoring them w.r.t default-params
>>> would be consistent with such a case.
>> You mean all cases where the buffer argument of `switch-to-buffer' names
>> an existing buffer (probably all of them do, but I didn't check).
>
> I mean all the calls to switch-to-buffer in Elisp code where the author
> obviously didn't take into account the fact that there can be
> minibuffer-only frames, or that the selected window can be dedicated,

`switch-to-buffer' is allowed to reuse a weakly dedicated window while
`display-buffer' isn't.  This gets complicated :-(

martin





reply via email to

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