[added gsharp-devel, since that's where this patch would end up...] "Andy Hefner" <ahefner@gmail.com> writes:
I struggled with this a while ago and concluded that incremental redisplay is probably the intended solution.
While Andy said this in this forum, he did provide a hint in another... on IRC, he said <hefner> Xof: have you considered solving your scrolling problem by setting :display-time nil and calling your display function yourself from the top-level loop and using (clear-output-record (stream-output-history foo)) rather than window-clear? And so I tried it, and the attached patch is the result. I don't know if it's climily correct, and it might suffer a bit from suboptimality when loading in new files, but apart from that it does what I think I want it to. So this patch does two things: one, after doing what drawing to the score pane needs to be done, the :height space requirement is changed to whatever it needs to be; two, window-clear calls are intercepted and implemented following Andy's suggestion. Comments? Cheers, Christophe