[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69093: window-state-put doesn't update current buffer
From: |
Juri Linkov |
Subject: |
bug#69093: window-state-put doesn't update current buffer |
Date: |
Tue, 13 Feb 2024 09:39:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
Martin, could you help to understand what is missing in
'window-state-put' that it doesn't set the current buffer
correctly like 'set-window-configuration' does.
For example, here the message says that the current-buffer
and point still have old values coming from the old buffer
that was current before calling 'window-state-put':
(let (ws)
(info)
(setq ws (window-state-get nil 'writable))
(quit-window)
(window-state-put ws nil 'safe)
(message "! %S %S %S" (point) (current-buffer) (window-buffer)))
However, 'set-window-configuration' works correctly
and sets the restored buffer as current:
(let (wc)
(info)
(setq wc (current-window-configuration))
(quit-window)
(set-window-configuration wc nil t)
(message "! %S %S %S" (point) (current-buffer) (window-buffer)))
- bug#69093: window-state-put doesn't update current buffer,
Juri Linkov <=
- bug#69093: window-state-put doesn't update current buffer, martin rudalics, 2024/02/14
- bug#69093: window-state-put doesn't update current buffer, Juri Linkov, 2024/02/15
- bug#69093: window-state-put doesn't update current buffer, martin rudalics, 2024/02/16
- bug#69093: window-state-put doesn't update current buffer, Eli Zaretskii, 2024/02/16
- bug#69093: window-state-put doesn't update current buffer, Juri Linkov, 2024/02/18
- bug#69093: window-state-put doesn't update current buffer, martin rudalics, 2024/02/19
- bug#69093: window-state-put doesn't update current buffer, Drew Adams, 2024/02/19
- bug#69093: window-state-put doesn't update current buffer, Juri Linkov, 2024/02/20
- bug#69093: window-state-put doesn't update current buffer, martin rudalics, 2024/02/21
- bug#69093: window-state-put doesn't update current buffer, Juri Linkov, 2024/02/21