[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redundant redisplay
From: |
David Kastrup |
Subject: |
Re: redundant redisplay |
Date: |
27 Apr 2004 22:56:00 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Tak Ota <address@hidden> writes:
> Some recent change, which I cannot identify, affects the redisplay
> mechanism so that set-buffer-modified-p redisplays window contents
> redundantly. It creates occasional annoying partial screen flashing
> as well as considerably slows down a buffer process which updates
> modeline frequently.
>From the Elisp manual:
- Function: set-buffer-modified-p flag
This function marks the current buffer as modified if FLAG is
non-`nil', or as unmodified if the flag is `nil'.
Another effect of calling this function is to cause unconditional
redisplay of the mode line for the current buffer. In fact, the
function `force-mode-line-update' works by doing this:
(set-buffer-modified-p (buffer-modified-p))
So it _should_ cause a redisplay, but only of the buffer line. Kim,
are you taking a peek at the line height there, could that be it?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum