From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.bugs Subject: Re: Windows emacs menu bar redraw Date: Fri, 05 Jul 2002 23:47:12 +0000 (GMT) Organization: Shaw Residential Internet Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <764904.1025909759519.JavaMail.parameter@gomailjtp01> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1025913030 19345 127.0.0.1 (5 Jul 2002 23:50:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2002 23:50:30 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17QcqL-00051n-00 for ; Sat, 06 Jul 2002 01:50:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Qcqv-0001cG-00; Fri, 05 Jul 2002 19:51:05 -0400 Original-Received: from mailbox3.ucsd.edu ([132.239.1.55]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Qcq7-0001Yt-00 for ; Fri, 05 Jul 2002 19:50:15 -0400 Original-Received: from pd4mo1so.prod.shaw.ca (h24-71-223-10.cg.shawcable.net [24.71.223.10]) by mailbox3.ucsd.edu (8.12.3/8.12.3) with ESMTP id g65NnWoh034767 for ; Fri, 5 Jul 2002 16:49:32 -0700 (PDT) Original-Path: not-for-mail Original-Received: from pd2mr4so.prod.shaw.ca (pd2mr4so-ser.prod.shaw.ca [10.0.141.107]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GYS00MQ4VEPF8@l-daemon> for gnu-emacs-bug@moderators.isc.org; Fri, 05 Jul 2002 17:47:13 -0600 (MDT) Original-Received: from pd2pm1so (pd2pm1so-qfe2.prod.shaw.ca [10.0.122.154]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GYS00A09VEP0K@l-daemon> for gnu-emacs-bug@moderators.isc.org; Fri, 05 Jul 2002 17:47:13 -0600 (MDT) Original-Received: from shaw.ca ([10.0.123.39]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GYS00615VEOFR@l-daemon> for gnu-emacs-bug@moderators.isc.org; Fri, 05 Jul 2002 17:47:13 -0600 (MDT) Original-X-Trace: news3.calgary.shaw.ca 1025912832 24.71.223.147 (Fri, 05 Jul 2002 17:47:12 MDT) Original-To: gnu-emacs-bug@moderators.isc.org Original-X-Complaints-to: abuse@shaw.ca Original-NNTP-posting-date: Fri, 05 Jul 2002 17:47:12 MDT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Trace-PostClient-IP: 24.71.203.212 Original-Newsgroups: gnu.emacs.bug Original-Lines: 28 Original-NNTP-posting-host: 24.71.223.147 X-MailScanner: Passed Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2492 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2492 parameter@go.com (Dave Schuyler) writes: > Hi, > > I'm using gnu emacs 21.2.1 on Windows 2000. > > I've noticed that the menu bar will sometimes flicker and redraw. > I've seen this before in applications where some controls are bing > told to redraw themselves, not just as needed, but very often. The > programmer may miss a bug like this because the redraw is exactly > the same as what was there before, and if it's fast enough, or if > there is no blanking, you can't see it. If your machine slows down > with other tasks, the flicker can become bothersome. Also, the > redraw is needlessly using cpu time. Worse, someone else may > immitate the code doing the needless redraws, thinking that there is > nothing broken with the original code. > > Anyway, it would be nice if someone would take care of it. > > Thanks. Hi, Does the problem go away if you call Fequal instead of EQ in w32menu.c (set_frame_menubar) to check the previous_items array against menu_items? Andrew.