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: Juri Linkov
Subject: bug#6204: vc-dir always splits the frame
Date: Thu, 20 May 2010 00:31:00 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> I've given up trying to understand window management after
> bug#1806 though.

Yes, currently window management is a mess.

For instance, for a long time I've had in .emacs:

  (add-to-list 'same-window-buffer-names "*vc-dir*")

because I prefer buffers to appear in the same window.
I also have a lot of such lines for other packages:

  (add-to-list 'same-window-buffer-names "*Apropos*")
  (add-to-list 'same-window-buffer-names "*Buffer List*")
  (add-to-list 'same-window-buffer-names "*Colors*")
  (add-to-list 'same-window-buffer-names "*Command History*")
  (add-to-list 'same-window-buffer-names "*Diff*")
  (add-to-list 'same-window-buffer-names "*Proced*")
  ...

But I can't do the same for some other buffers, e.g. for the "*Locate*"
buffer, because `locate' uses `switch-to-buffer-other-window' instead of
`pop-to-buffer'.  I don't know why.

Now after let-binding `pop-up-windows' to nil around the `pop-to-buffer'
call, what if someone might want to restore the old behavior.
Is it possible for the user to add some setting in .emacs
to split the frame and display *vc-dir* in another window?
I don't know.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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