From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: tool bar icons not updated according to :active condition Date: Sat, 04 Mar 2006 23:25:55 +0100 Message-ID: References: <873bi8ok5h.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141530443 12847 80.91.229.2 (5 Mar 2006 03:47:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Mar 2006 03:47:23 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 05 04:47:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFkDC-0003pB-Os for ged-emacs-devel@m.gmane.org; Sun, 05 Mar 2006 04:47:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFkDI-0000Hk-1d for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2006 22:47:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FFgDX-0003et-69 for emacs-devel@gnu.org; Sat, 04 Mar 2006 18:31:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FFgDT-0003dT-Rr for emacs-devel@gnu.org; Sat, 04 Mar 2006 18:31:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFgDT-0003dO-Ov for emacs-devel@gnu.org; Sat, 04 Mar 2006 18:31:15 -0500 Original-Received: from [193.162.153.10] (helo=pqueueb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FFgFM-0006Bx-VT; Sat, 04 Mar 2006 18:33:13 -0500 Original-Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by pqueueb.post.tele.dk (Postfix) with ESMTP id 45C4A3DEF23; Sat, 4 Mar 2006 23:27:54 +0100 (CET) Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id EE91FA50004; Sat, 4 Mar 2006 23:27:41 +0100 (CET) Original-To: Reiner Steib In-Reply-To: (Reiner Steib's message of "Tue, 28 Feb 2006 15:53:54 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51211 Archived-At: Reiner Steib writes: > On Mon, Feb 27 2006, Richard Stallman wrote: > >> The following gives better results (but of course it is still a >> workaround, not a fix). >> >> What is the underlying bug, for which this is a workaround? > > The tool bar icons are not updated according to the :active condition. > I'm including the original report below. I wonder if you could use the `point-entered' and `point-left' hooks on the relevant intervals/overlays in the Gnus summary buffer to handle this specific case? They should run a hook which calls force-window-update if tool-bar mode is enabled. -- Kim F. Storm http://www.cua.dk