bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24240: 25.1.50; window-state-put, image-mode and window scrolling


From: martin rudalics
Subject: bug#24240: 25.1.50; window-state-put, image-mode and window scrolling
Date: Wed, 17 Aug 2016 10:30:26 +0200

>> We'd need a variable, say ‘window-inhibit-configuration-change-hook’.
>
> inhibit-window-configuration-change-hook ?

We can abuse ‘frame-after-make-frame’.  Try the attached, completely
untested patch.

BTW I just noticed that we still run ‘window-configuration-change-hook’
in far too many cases.  I'll have to remove it from ‘window-resize’,
‘window--resize-mini-window’, ‘adjust-window-trailing-edge’ and
‘balance-windows’.

> The problem is, that it does work when edebugging it.  Anyway, I think I've
> found the problem: It's the call to set-window-start, which in my
> understanding forces the next redraw to scroll the window, thus
> negating image-modes work.

Would my patch work around that?

martin

Attachment: inhibit-run-wcchh.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]