all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Windows emacs menu bar redraw
@ 2002-07-05 22:55 Dave Schuyler
  2002-07-05 23:47 ` Andrew Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Schuyler @ 2002-07-05 22:55 UTC (permalink / raw)


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.




___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Windows emacs menu bar redraw
  2002-07-05 22:55 Windows emacs menu bar redraw Dave Schuyler
@ 2002-07-05 23:47 ` Andrew Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Choi @ 2002-07-05 23:47 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-05 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-05 22:55 Windows emacs menu bar redraw Dave Schuyler
2002-07-05 23:47 ` Andrew Choi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.