From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: bug: overlay display artifact: trace left behind Date: Sat, 12 Aug 2006 15:21:38 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155421338 23463 80.91.229.2 (12 Aug 2006 22:22:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 22:22:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 13 00:22:17 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 1GC1s0-0006O4-OP for ged-emacs-devel@m.gmane.org; Sun, 13 Aug 2006 00:22:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GC1s0-0004FI-2Z for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 18:22:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GC1ri-00049v-1F for emacs-devel@gnu.org; Sat, 12 Aug 2006 18:21:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GC1rg-000461-Aj for emacs-devel@gnu.org; Sat, 12 Aug 2006 18:21:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GC1rg-00045q-3D for emacs-devel@gnu.org; Sat, 12 Aug 2006 18:21:56 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GC1x8-0005S2-0a for emacs-devel@gnu.org; Sat, 12 Aug 2006 18:27:34 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k7CMLsSs003309 for ; Sat, 12 Aug 2006 17:21:54 -0500 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-65-8.vpn.oracle.com [141.144.65.8]) by rgmgw1.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k7CMLrhQ013444 for ; Sat, 12 Aug 2006 16:21:54 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:58344 Archived-At: I started with emacs -Q, and just repeatedly used a command that moved a one-character overlay to the right one character. Can you please send a precise, complete test case? Please don't ask us to write our own command to test this. The bug might depend on some detail you did not mention. 1. emacs -Q 2. Load this file: http://www.emacswiki.org/cgi-bin/wiki/mouse%2b.el 3. Customize this face to have a red foreground: `mouse-flash-position'. (The default, yellow, is not very visible against an emacs -Q background.) 4. M-: (global-set-key [down-mouse-2] 'mouse-flash-position) 5. Select some text (e.g. a word), for yanking elsewhere. 6. Put the mouse on some line of text. Press `mouse-2' and hold it pressed. Move the mouse along the text without releasing the button. Release it to finish the yank. When you press `mouse-2', the yank position is highlighted. When you move the mouse, the highlight moves with the mouse. But vestigial overlay traces are left behind.