[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32672: 27.0.50; image resize on window resizing
From: |
Juri Linkov |
Subject: |
bug#32672: 27.0.50; image resize on window resizing |
Date: |
Mon, 17 Sep 2018 02:49:05 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> I agree that the buffer list is more global than a window, but OTOH
>> it makes sense to use buffer-local hook for a buffer to get notified
>> when it comes to the top of the buffer list. So this would be a good thing
>> to have, unless there is another hook that gets called when a buffer
>> becomes the current buffer, or at least displayed in a window.
>
> I try to fix the problem you mentioned earlier, namely that
>
>> > it's called only when navigating away from the
>> > image-mode buffer, but not when coming back to the image-mode buffer, e.g.
>> > `C-x <left>', then resize the window, then type `C-x <right>',
>> > it's not called. Also it's not called in another direction:
>> > `C-x <right>', then resize the window, then type `C-x <left>'.
>
> Please tell me if the attached patch works and what else should be
> done.
I tried but the hook still not called. Moreover, it broke something:
after `C-x <right>' I need to type `C-x <left>' twice to get back
to the original buffer.
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/09
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/11
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/12
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/12
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/13
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/13
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/14
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/15
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/16
- bug#32672: 27.0.50; image resize on window resizing,
Juri Linkov <=
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/17
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/17
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/19
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/19
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/20
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/20
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/21
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/22
- bug#32672: 27.0.50; image resize on window resizing, martin rudalics, 2018/09/23
- bug#32672: 27.0.50; image resize on window resizing, Juri Linkov, 2018/09/23