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: Sun, 23 May 2010 02:50:36 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>  largest ...... largest window
>  lru .......... least recently used window
>  selected ..... frame's selected window
>  root ......... frame's root window
[...]
> ---------------------------------------------------------------
> The intended use is that an application calling `display-buffer'
> or `pop-to-buffer' could bind this as
>
> (let  ((pop-up-windows
>       (if (eq pop-up-windows t)
>           application-dependent-value
>         pop-up-windows)))
>
> that is, the default value can be overridden by the application,
> user customizations are respected.

User customizations are respected here, but limited.

How the user is supposed to customize this behavior
on a per-application basis?

E.g. how to customize it to display "*vc-dir*" in another window,
but "*vc-diff*" in the same window?

It seems `special-display-buffer-names' is what we need.
It could support all values you mentioned above
on a per-application basis like:

  (("*buffer name*" (window . largest)))
  (("*buffer name*" (window . lru)))
  (("*buffer name*" (window . selected)))
  (("*buffer name*" (window . root)))

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





reply via email to

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