[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69993: Wrap window buffers while cycling
From: |
Juri Linkov |
Subject: |
bug#69993: Wrap window buffers while cycling |
Date: |
Mon, 25 Mar 2024 19:16:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> So here is the patch that finally solves this problem
>> by adding a new option 'switch-to-prev-buffer-wrap'
>> disabled by default.
>
> Good idea. You probably should emphasize the point that if this option
> is non-nil, the buffer switched to must have appeared in the window
> before.
Thanks for the suggestion, will add to the documentation.
There is a remaining problem, and I can't find a way to fix it.
When a buffer already appeared in the window before,
then switching to that buffer with e.g. 'C-x b'
moves it to the end of the list. Technically
this means that window-next-buffers is set to nil.
However, I can't find code that does this. Could you help
to find it? I already found one occurrence of
(set-window-next-buffers window nil) in record-window-buffer.
But after adding a condition with switch-to-prev-buffer-wrap
it still moves the switched buffer to the end.
- bug#69993: Wrap window buffers while cycling, Juri Linkov, 2024/03/25
- bug#69993: Wrap window buffers while cycling, martin rudalics, 2024/03/25
- bug#69993: Wrap window buffers while cycling,
Juri Linkov <=
- bug#69993: Wrap window buffers while cycling, martin rudalics, 2024/03/26
- bug#69993: Wrap window buffers while cycling, Juri Linkov, 2024/03/27
- bug#69993: Wrap window buffers while cycling, martin rudalics, 2024/03/27
- bug#69993: Wrap window buffers while cycling, Juri Linkov, 2024/03/28
- bug#69993: Wrap window buffers while cycling, martin rudalics, 2024/03/28
- bug#69993: Wrap window buffers while cycling, Juri Linkov, 2024/03/28
- bug#69993: Wrap window buffers while cycling, martin rudalics, 2024/03/29
- bug#69993: Wrap window buffers while cycling, Juri Linkov, 2024/03/29
- bug#69993: Wrap window buffers while cycling, martin rudalics, 2024/03/30
- bug#69993: Wrap window buffers while cycling, Juri Linkov, 2024/03/30