[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45688: 28.0.50; New action for display-buffer?
From: |
Lars Ingebrigtsen |
Subject: |
bug#45688: 28.0.50; New action for display-buffer? |
Date: |
Mon, 11 Jan 2021 20:05:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
>> Here's a reproducer from emacs -Q:
>>
>> (progn
>> (setq display-buffer-alist '((".*"
>> display-buffer-use-least-recent-window)))
>> (pop-to-buffer "file1")
>> (pop-to-buffer "file2")
>> (split-window-below)
>> (pop-to-buffer "file3"))
>>
>> I end up with the following, and file3 in an oddly large window.
>
> So you have been splicing in a 'split-window-below' between those calls.
> Why didn't you tell me before?
I wasn't -- I was jumping around between windows manually, but that's
the reproducer I came up with.
> 'split-window-below' copies the
> 'quit-restore' parameter to the new window and that's what you get.
>
> Let's try to clean up the height value when copying the 'quit-restore'
> parameter as attached.
This fixes the reproducer, but not the case of actually jumping around
manually -- `M-x display-buffer' sometimes chooses to resize the
windows. :-/
In related news, get-lru-window doesn't seem to work reliably? I don't
have a reproducer for that, either, but it seems to happen if I have a
three window frame, and I call:
(setq lru (get-lru-window (selected-frame) nil t))
(window-bump-use-time lru)
(get-lru-window (selected-frame) nil t)
will then return the same window as `lru'...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#45688: 28.0.50; New action for display-buffer?, (continued)
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/10
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/10
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/10
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/11
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/11
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/11
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/18
- bug#45688: 28.0.50; New action for display-buffer?,
Lars Ingebrigtsen <=
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/12
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/18
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/20
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/20
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/20
- bug#45688: 28.0.50; New action for display-buffer?, Juri Linkov, 2021/01/19
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/20
- bug#45688: 28.0.50; New action for display-buffer?, Juri Linkov, 2021/01/20
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/25
- bug#45688: 28.0.50; New action for display-buffer?, Juri Linkov, 2021/01/25