emacs-devel
[Top][All Lists]
Advanced

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

Re: tool bar icons not updated according to :active condition


From: Reiner Steib
Subject: Re: tool bar icons not updated according to :active condition
Date: Sun, 26 Feb 2006 20:39:31 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Sun, Feb 26 2006, Kim F. Storm wrote:

> Reiner Steib <address@hidden> writes:
>
>> The following code updates the frame and the tool bar, but I think it
>> is too expensive (and maybe irritating for the user) because it
>> affects the whole frame, not only the tool bar.  Is it possible to
>> limit redrawing to the tool bar?
>
> No, but I think force-window-update is cheaper than redraw-frame.

But `force-window-update' doesn't update correctly (with GTK).

On Sun, Feb 26 2006, Chong Yidong wrote:

> I dunno if we want to redisplay the tool bar every time point moves,
> in general.

No.  Even Gnus Group buffer I found it annoying (e.g. using <up> or
<down> repeatedly).  When restricted to line changes and evaluated
when idle is might be okay.

> Maybe using post-command-hook is a good solution for those modes
> that need it.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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