From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marko =?iso-8859-1?B?TeRrZWzk?= Newsgroups: gmane.emacs.bugs Subject: Re: incorrect X11 display update Date: Tue, 23 May 2006 11:36:53 +0300 Message-ID: <20060523083653.GA3901@localhost.localdomain> References: <20030531081307.GD465@siphon.tcs.hut.fi> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1148383855 10360 80.91.229.2 (23 May 2006 11:30:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 11:30:55 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 23 13:30:53 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiV60-0001nA-2p for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 May 2006 13:30:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiV5z-0008Em-8F for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 May 2006 07:30:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FiSO6-0000l0-BR for bug-gnu-emacs@gnu.org; Tue, 23 May 2006 04:37:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiSO4-0000kY-VL for bug-gnu-emacs@gnu.org; Tue, 23 May 2006 04:37:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiSO4-0000kV-SS for bug-gnu-emacs@gnu.org; Tue, 23 May 2006 04:37:08 -0400 Original-Received: from [193.229.0.63] (helo=fep32-app.kolumbus.fi) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FiSSC-00064g-WE; Tue, 23 May 2006 04:41:25 -0400 Original-Received: from localhost ([195.255.198.65]) by fep32-app.kolumbus.fi with ESMTP id <20060523083658.UXEZ18511.fep32-app.kolumbus.fi@localhost>; Tue, 23 May 2006 11:36:58 +0300 Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-Mailman-Approved-At: Tue, 23 May 2006 07:30:37 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15110 Archived-At: --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, Jun 01, 2003 at 11:53:35AM -0400, Richard Stallman wrote: > Could you possibly get the latest sources from CVS on savannah.gnu.org > so as to see if the problem still exists in the latest sources? > That would be a big help. This "ghost cursor" bug still exists after 3 years, and I've become used to it. Yesterday I come across a way to reproduce it almost always. The reduced $HOME/.emacs and the custom X resources are attached. This bug occurs with the attached file emacs-bug.c, but any lengthy text file should do. Here are the steps to reproduce this "ghost cursor" bug. (0) Start emacs and execute M-: (blink-cursor-mode -1) (1) Load a document at least 3 pages long [c-mode or fundamental-mode] (2) Scroll down at least one page. (3) Position the cursor on column 0 of the first visible line of the buffer ("line 1"). Make sure that there is text on that line. (4) Switch to another X11 application. Place the window so that it will cover the left part of the Emacs window, from the bottom half of line 2 [see (3)] downwards. Ensure that the Emacs window is taller, i.e., that the mode line won't be covered by the other window. (5) Switch between these two windows a few times. [Enable the "popup focused window" setting of the window manager, so that an expose event will be generated for the left part of the Emacs window whenever switching back to Emacs.] (6) Switch to the Emacs window and hit C-n. Now there should be a "ghost cursor" on line 1. You can get another ghost cursor by pressing C-f C-p and going back to step 5. Please note that the ghost cursor does not always appear in step 6. When it does, it seems to appear consistently for the rest of the Emacs session. Here, the bug occurs at some 80% or 90% probability. > I asked people to tell you how to determine what font is in use. I've repeated the bug with three fonts: 'fixed' (selected from the Font menu, more exactly, -misc-fixed-bold-r-normal--0-0-75-75-c-0-iso10646-1 or ...-iso8859-1) and -sony-fixed-medium-r-normal--16-*-*-*-*-*-*-* (more exactly, -sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1), and the default .Emacs.font when none has been specified in xrdb. I'm using the Debian GNU/Linux unstable distribution with the package emacs21, version 21.4a-6. "M-x version" reports the following: GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-05-15 on trouble, modified by Debian I don't think that this bug is window manager specific. Currently, I'm using metacity 2.14.3 of the GNOME desktop. In 2003, I most likely used fvwm2. Best regards, Marko Mäkelä --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Description: .emacs Content-Disposition: attachment; filename=".emacs" (blink-cursor-mode -1) --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Description: .Xresources Content-Disposition: attachment; filename=".Xresources" ! before starting Emacs, feed this file to xrdb -load .Emacs.background: White .Emacs.foreground: black .Emacs.cursorColor: black --LZvS9be/3tNcYl/X Content-Type: text/x-csrc; charset=us-ascii Content-Description: emacs-bug.c Content-Disposition: attachment; filename="emacs-bug.c" /****************************************************** Xxxxxxxxxx xxxx xxxxxxxxx Xxxxxxxx Xx Xxxxxxx Xxxxxx Xxxxx Xxxxxx *******************************************************/ #xxxxxx XXXX_XXXXXX #xxxxxxx "xxxx" #xxxxx XXXX_XXXXXX # xxxxxxx "xxxx" #xxxxx #xxxxx XXXX_XXXXXX #xxxxxxx "xxxx" #xxxxxxx "xxxx" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" #xxxxxxx "xx.x" /* Xxxxxx xxxxx xx ../xxxxxxx/xxxx0xxx.xx xxx x xxxxxxxxxxx xx xxx xxxxxxxxxx xxxx xxxxxx. */ /* Xxx xxxxxxx xxx xxxxxxxx xxxxxxx xxx xxxxxxx xxxx xxx xxxxxxxxxx xxxx. Xx xxxxxxxx, xx xxxxxxx xxxx xxx xxxxxxx xxx xxxxx, xxx xx xxxxxxxxxx xx xxxxxxx xxx xxxxxxx. */ xxxxxx xxxxx xxxx xxxxxxx_xxxxx[] = { 0x00, /* xxxx_xxxx=0, x_xxxxx=1 */ 0x00, 0x00 /* xxxx_xx=0, xxxxxx=2 */ /* ?, ? */ /* xxxx=(xxxxx xxxx xxx, xx xxxxxxxx) */ }; xxxxxx xxxxx xxxx xxxxxxx_xxxx[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* "xxxxxxx\0" */ }; xxxxxx xxxxx xxxx xxxxxxxx_xxxxx_xxxx[] = { 0x00, 0x00, /* xxxx_xx=1, xxxxxx=3 */ 0x00, 0x00, /* xxxx=0 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* "xxxxxxxx" */ }; --LZvS9be/3tNcYl/X Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --LZvS9be/3tNcYl/X--