[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6204: vc-dir always splits the frame
From: |
Stefan Monnier |
Subject: |
bug#6204: vc-dir always splits the frame |
Date: |
Thu, 20 May 2010 13:14:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> 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.
Indeed. A good way would be to provide a way to override pop-up-windows
(both nil and t) in special-display-regexps. We already have
(same-window . t), so we only need to add the other half.
> 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.
But maybe the user would like to follow the application's special
handling, even tho she modified her pop-up-windows for other reasons.
I think it's much better to use 2 separate variables, where the
user-controlled var is never modified by Elisp code.
Stefan
- bug#6204: vc-dir always splits the frame, Glenn Morris, 2010/05/17
- bug#6204: vc-dir always splits the frame, Dan Nicolaescu, 2010/05/17
- bug#6204: vc-dir always splits the frame, Glenn Morris, 2010/05/18
- bug#6204: vc-dir always splits the frame, Juri Linkov, 2010/05/19
- bug#6204: vc-dir always splits the frame, martin rudalics, 2010/05/20
- bug#6204: vc-dir always splits the frame,
Stefan Monnier <=
- bug#6204: vc-dir always splits the frame, martin rudalics, 2010/05/20
- bug#6204: vc-dir always splits the frame, Stefan Monnier, 2010/05/21
- bug#6204: vc-dir always splits the frame, martin rudalics, 2010/05/22
- bug#6204: vc-dir always splits the frame, Juri Linkov, 2010/05/22
- bug#6204: vc-dir always splits the frame, Stefan Monnier, 2010/05/22
- bug#6204: vc-dir always splits the frame, Juri Linkov, 2010/05/22
- bug#6204: vc-dir always splits the frame, martin rudalics, 2010/05/23
- bug#6204: vc-dir always splits the frame, Stefan Monnier, 2010/05/23
- bug#6204: vc-dir always splits the frame, martin rudalics, 2010/05/23
- bug#6204: vc-dir always splits the frame, Stefan Monnier, 2010/05/24