[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode-line redisplay bug
From: |
Kim F. Storm |
Subject: |
Re: mode-line redisplay bug |
Date: |
Fri, 09 Sep 2005 21:40:57 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Edward O'Connor" <address@hidden> writes:
> Kim F. Storm wrote:
>
>> I have installed a change that fixes this for me.
>> Can you pls. try latest CVS to see if it works for you too.
>
> Unfortunately, I still see this behavior in the latest CVS.
Does it still happen with the test case you sent me?
In any case, can you try this patch to see if it gives better results:
*** dispnew.c 04 Sep 2005 23:32:28 +0200 1.356
--- dispnew.c 09 Sep 2005 21:38:40 +0200
***************
*** 945,952 ****
xassert (start >= 0 && start < matrix->nrows);
xassert (end >= 0 && end <= matrix->nrows);
! for (; start < end; ++start)
! matrix->rows[start].enabled_p = enabled_p != 0;
}
--- 945,963 ----
xassert (start >= 0 && start < matrix->nrows);
xassert (end >= 0 && end <= matrix->nrows);
! if (enabled_p)
! {
! for (; start < end; ++start)
! matrix->rows[start].enabled_p = 1;
! }
! else
! {
! for (; start < end; ++start)
! {
! matrix->rows[start].enabled_p = 0;
! matrix->rows[start].mode_line_p = 0;
! }
! }
}
--
Kim F. Storm <address@hidden> http://www.cua.dk