[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67993: Selecting buffer automatically
From: |
martin rudalics |
Subject: |
bug#67993: Selecting buffer automatically |
Date: |
Fri, 5 Jan 2024 10:23:10 +0100 |
User-agent: |
Mozilla Thunderbird |
> Martin, do you agree with this change?
> If ok, then I could update the documentation as well.
The following looks like a glitch:
>> + (when (window-live-p (old-selected-window))
>> + (select-window (old-selected-window))))
is supposed to select the window selected the last time we ran window
change functions. Now consider the following scenario:
- Redisplay runs the window change functions and sets the old selected
window.
- An application changes the selected window.
- 'display-buffer' gets called with a (select-window . nil) entry. The
call will select the window selected at last redisplay.
So I think that calling 'old-selected-window' here is not TRT.
martin
- bug#67993: Selecting buffer automatically, Juri Linkov, 2024/01/04
- bug#67993: Selecting buffer automatically,
martin rudalics <=
- bug#67993: Selecting buffer automatically, Juri Linkov, 2024/01/06
- bug#67993: Selecting buffer automatically, martin rudalics, 2024/01/07
- bug#67993: Selecting buffer automatically, Juri Linkov, 2024/01/07
- bug#67993: Selecting buffer automatically, martin rudalics, 2024/01/08
- bug#67993: Selecting buffer automatically, Juri Linkov, 2024/01/09
- bug#67993: Selecting buffer automatically, martin rudalics, 2024/01/10
- bug#67993: Selecting buffer automatically, Juri Linkov, 2024/01/10
- bug#67993: Selecting buffer automatically, martin rudalics, 2024/01/11
- bug#67993: Selecting buffer automatically, Juri Linkov, 2024/01/12
- bug#67993: Selecting buffer automatically, martin rudalics, 2024/01/13