[Top][All Lists]

[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: Tue, 25 May 2010 21:01:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>> Rather than let-binding some Lisp-manipulated "config" var, I was
>> thinking of passing special parameters to display-buffer (I'd rather
>> avoid dynamic scoping whenever possible).
> An additional argument is always fine with me.

Why not use the existing argument `other-window'
of `pop-to-buffer' and `display-buffer'?

> Remains the question how to make customizing monsters like
> `special-display-regexps' simpler.

Very simple: allow users to override the argument `other-window' of
`pop-to-buffer' and `display-buffer' by the analogous parameter
`other-window' in `special-display-regexps', e.g.

  ("*vc-dir*" (other-window . t))
  ("*vc-diff*" (other-window . nil))
  ("*info*" (other-window . lru))

Juri Linkov

reply via email to

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