[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: |
Fri, 21 May 2010 16:15:41 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> 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.
> In Juri's `switch-to-buffer-other-window' case such options would be
> useless anyway.
I was thinking of the OP's vc-dir case.
>> 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.
> Applications that do care enough should either (1) use `split-window'
> and `set-window-buffer' or (2) provide a separate customizable option
> like `foo-pop-up-windows' and let the user decide whether this should
> pop up a new window and where.
If the buffer names are sufficiently regular and unique,
special-display-regexps can already provide the needed customizability
without any need for a new option.
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, 2010/05/20
- 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/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
- bug#6204: vc-dir always splits the frame, martin rudalics, 2010/05/25
- bug#6204: vc-dir always splits the frame, Stefan Monnier, 2010/05/25