[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9350: 23.3; File menu should contain "split window horizontally C-x
From: |
martin rudalics |
Subject: |
bug#9350: 23.3; File menu should contain "split window horizontally C-x 3" |
Date: |
Fri, 21 Oct 2011 15:46:08 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
>>> PS: One thing that annoys me in the current working of split-window: it
>>> doesn't let you say which window (the top or the bottom) is the new one.
>> The new one is that returned by `split-window', as before.
>
> No, that's not the issue. It's not about "which window (the
> selected-window or the returned window) is the new one" it's "which
> window (the top one or the bottom one)".
>
> And the issue is not "tell me which it is" but "I want to control which
> one it should be".
Sorry. I'm missing you here.
> No, here's the scenario: you have a dedicated window, and you want to
> create a new window above that one: split-window won't work because it
> will always create the new window below.
Do you mean that
(let (new)
(set-window-dedicated-p (selected-window) t)
(setq new (split-window nil nil 'above))
(set-window-buffer new "*Messages*"))
doesn't do that?
martin