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

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

Re: slow redisplay after changing cursor color


From: Kim F. Storm
Subject: Re: slow redisplay after changing cursor color
Date: Tue, 14 Sep 2004 23:49:16 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I only added the face-no-inherit property for the `cursor' face at this time.
>
>> I didn't change defface / custormize-face to reject :inherit from face
>> with the face-no-inherit property  (it would be nice, but I don't quite
>> know how to do that).
>
> We could default face-no-inherit to t and set it to nil when we realize
> a face and follow a :inherit.  I.e. all automatic.
>
> Or we could call it `children' instead of `face-no-inherit', default it to
> nil, and add faces to it whenever we find them while realizing faces, then
> we could flush only the children rather than all_faces.

Those would be nice optimizations.

But in general, I don't think emacs is slow to realize faces -- so maybe
this is overengineering.

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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