GNU bug report logs -
#32672
27.0.50; image resize on window resizing
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sun, 9 Sep 2018 16:11:02 UTC
Severity: wishlist
Tags: fixed
Fixed in version 27.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>> 2 ... current: *scratch* ... window-buffer: *info*
>>>
>>> which is in an inconsistent state,
>>
>> ... not really - look at the backtrace:
>
> But the problem is that the buffer-local hook will have such idiomatic code:
>
> (with-current-buffer (window-buffer window)
> ...
Where does 'window' come from? At the time 'buffer-list-update-hook'
gets called, there's no guarantee that the buffer whose local hook
runs is even shown in a window.
> where window-buffer will return a wrong buffer.
It's the right buffer at the time you run this hook. I'm afraid that
whatever we do here it will get us in a mess that strikes back sooner
or later. Maybe we really should run a 'select-window-hook' instead.
martin
This bug report was last modified 5 years and 170 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.