From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.devel Subject: Bug in incremental undrawing of mouseover highlighting Date: Sun, 19 Nov 2006 17:32:36 -0500 Message-ID: <17760.56196.739515.442009@rgrjr.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163975575 22542 80.91.229.2 (19 Nov 2006 22:32:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 22:32:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 19 23:32:53 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 1GlvDY-0000Il-2X for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 23:32:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlvDX-0001gB-KQ for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 17:32:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlvDK-0001fO-3b for emacs-devel@gnu.org; Sun, 19 Nov 2006 17:32:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlvDJ-0001fB-LL for emacs-devel@gnu.org; Sun, 19 Nov 2006 17:32:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlvDJ-0001f3-Hu for emacs-devel@gnu.org; Sun, 19 Nov 2006 17:32:37 -0500 Original-Received: from [24.128.218.106] (helo=rgrjr.dyndns.org) by monty-python.gnu.org with smtp (Exim 4.52) id 1GlvDJ-0004zM-GV for emacs-devel@gnu.org; Sun, 19 Nov 2006 17:32:37 -0500 Original-Received: (qmail 28111 invoked by uid 500); 19 Nov 2006 22:32:36 -0000 Original-To: emacs-devel@gnu.org X-Mailer: VM 7.19 under Emacs 22.0.90.1 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:62509 Archived-At: It seems that mouseover background highlighting is not undrawn if replaced by the same unhighlighted text. This happens in the CVS version as of late on 11-Nov. (I have seen this bug for some time now, but only just thought of a (relatively) easy way to reproduce it.) To reproduce: 1. "emacs -Q" 2. "C-x d RET". This gets a dired buffer; the exact directory doesn't matter as long as it has at least a few files in it. (And, for some reason, "." and ".." don't count.) 3. "C-x h M-w C-x b *scratch* RET C-y M-<". This gets a copy of the dired buffer contents; sometimes they come with dired fontification, and sometimes not. The same text should be displayed in the same character positions in both dired and *scratch* buffers. 4. "C-x b RET" to get back to the dired buffer, and move the mouse over a file name so that it is highlighted in green. 5. "C-x b RET" to return to *scratch*. Notice that the same characters in the same position are still highlighted in green. 6. Move the mouse to a different file name. Usually the highlighting goes away, but sometimes it doesn't (and it doesn't correlate with fontification). If it does persist, type "C-x b RET" to return once more to the dired buffer, and there will be two green file names -- this can be repeated until every file name is green. 7. "C-l" (or anything else that causes redisplay from scratch) will restore the display to normal; this is why I think it's a redisplay bug. My apologies if this is a known problem; I find it hard to follow the redisplay threads, so I may have missed the relevant description. -- Bob Rogers http://rgrjr.dyndns.org/