[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: prefer-window-split-horizontally
From: |
Tassilo Horn |
Subject: |
Re: Patch: prefer-window-split-horizontally |
Date: |
Thu, 16 Aug 2007 16:52:58 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> Changing the behavior of split-window so that it uses something like
>>> split-window-function only makes sense if we want to change the
>>> behavior seen by current callers of this function.
>
>> That's the case, isn't it?
>
> Is it, really? As far as I can tell, you only want to change the
> behavior in the following cases: when called from display-buffer and
> when called interactively. Since split-window has currently no
> key-binding, calling it interactively is not very common and we can
> just as well create a new command split-window-sensibly which obeys
> split-window-sensibly-function (and then have display-buffer use this
> function as well).
Indeed, you're right. So I suggest to do it that way.
>> And the behavior would only change if users modify
>> `split-window-function'. So I don't see a problem here.
>
> Think of those users who want a fancy split-window-function for
> display-buffer but still want the layout of their
> Gnus/ECB/MPC/GUD/ProofGeneral/... to appear correctly without having
> to tweak their source code or beg the authors to adapt their code to
> the new behavior.
Look at Klaus. He's begging to adapt his code. ;-)
>> I cannot follow you completely. In most cases it's not the caller
>> who should decide how windows are split but the user, who wants to
>> use his screen as good as possible.
>
> Yes, in *most* cases, maybe, but not all. Better have two separate
> function for the two separate cases.
Agreed. And it still gives users all possibilities they need.
Bye,
Tassilo
- Re: Patch: prefer-window-split-horizontally, (continued)
- Re: Patch: prefer-window-split-horizontally, Stefan Monnier, 2007/08/15
- Re: Patch: prefer-window-split-horizontally, Tassilo Horn, 2007/08/15
- Re: Patch: prefer-window-split-horizontally, Stefan Monnier, 2007/08/15
- Re: Patch: prefer-window-split-horizontally, Tassilo Horn, 2007/08/16
- Re: Patch: prefer-window-split-horizontally, Stefan Monnier, 2007/08/16
- Re: Patch: prefer-window-split-horizontally, Tassilo Horn, 2007/08/16
- RE: Patch: prefer-window-split-horizontally, klaus.berndl, 2007/08/16
- Re: Patch: prefer-window-split-horizontally, Tassilo Horn, 2007/08/16
- Re: Patch: prefer-window-split-horizontally, Stefan Monnier, 2007/08/16
- Re: Patch: prefer-window-split-horizontally,
Tassilo Horn <=
- RE: Patch: prefer-window-split-horizontally, klaus.berndl, 2007/08/16
- Re: Patch: prefer-window-split-horizontally, Juri Linkov, 2007/08/15
- Re: Patch: prefer-window-split-horizontally, Stefan Monnier, 2007/08/15
- Re: Patch: prefer-window-split-horizontally, Juri Linkov, 2007/08/16
- Re: Patch: prefer-window-split-horizontally, Richard Stallman, 2007/08/15
- Re: Patch: prefer-window-split-horizontally, Juri Linkov, 2007/08/16
Re: Patch: prefer-window-split-horizontally, Dieter Wilhelm, 2007/08/15