[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect X11 display update

From: Marko Mäkelä
Subject: Re: incorrect X11 display update
Date: Tue, 23 May 2006 11:36:53 +0300
User-agent: Mutt/1.5.11+cvs20060403

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

Best regards,

        Marko Mäkelä

Attachment: .emacs
Description: .emacs

Attachment: .Xresources
Description: .Xresources

Attachment: emacs-bug.c
Description: emacs-bug.c

reply via email to

[Prev in Thread] Current Thread [Next in Thread]