emacs-devel
[Top][All Lists]
Advanced

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

Re: redisplay-dont-pause does not work


From: David Kastrup
Subject: Re: redisplay-dont-pause does not work
Date: Sat, 27 May 2006 16:21:03 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> IMO changing the code is best. Otherwise, IIUC, there is no way one can
>>> force redisplay from a lisp program.
>
>> I think we should define what does ``force redisplay'' mean, before we
>> decide how to provide such a feature.  Does it mean redisplay
>> everything (i.e. every window on every frame)?  Or just the current
>> frame, or maybe just the current window?  (The latter should be
>> available with "C-l", I think.)  Do we want to let Lisp programs
>> specify what they want redisplayed, perhaps?
>
> I think we have to distinguish between a redisplay that does a "redraw" and
> one that does what the toplevel loop normally.  The "redraw" does call for
> a specification of what to redraw, but the normal toplevel redisplay doesn't
> (it just looks for things that have changed since the last "redisplay").
> For redraw, we already have redraw-display and redraw-frame and
> redraw-modeline, so I think we're set.

Disagree.  Those _clear_ the respective frame and mark it as to be
redrawn, but don't actually do the redraw.  Even if one _could_ use
them for forcing a redraw immediately, it would cause unnecessary
flicker.

> For forcing the display to be updated OTOH only sit-for is available
> and it's not reliable.

Well, then maybe one should try making it do what the docs claim?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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