From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Nested sit-for's Date: Thu, 17 Aug 2006 23:28:09 +0200 Message-ID: References: <87y7tp90i1.fsf@stupidchicken.com> <87hd0bjvoi.fsf@furball.mit.edu> <87veorjn15.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155850191 29257 80.91.229.2 (17 Aug 2006 21:29:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2006 21:29:51 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 17 23:29:49 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 1GDpQw-0007jB-6L for ged-emacs-devel@m.gmane.org; Thu, 17 Aug 2006 23:29:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDpQv-0003N7-In for ged-emacs-devel@m.gmane.org; Thu, 17 Aug 2006 17:29:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDpQj-0003Ml-I0 for emacs-devel@gnu.org; Thu, 17 Aug 2006 17:29:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDpQg-0003MP-V9 for emacs-devel@gnu.org; Thu, 17 Aug 2006 17:29:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDpQg-0003ML-Ru for emacs-devel@gnu.org; Thu, 17 Aug 2006 17:29:30 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GDpXE-000540-40; Thu, 17 Aug 2006 17:36:16 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 831B8FAC038; Thu, 17 Aug 2006 23:29:26 +0200 (CEST) Original-To: Chong Yidong In-Reply-To: <87veorjn15.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 17 Aug 2006 13:21:42 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:58480 Archived-At: Chong Yidong writes: >> I don't know if it is related, but from time to time (at least a few >> times daily), the cursor disappears, and doesn't return until I >> do "something" (e.g. click the mouse or type a key). >> >> I use blinking cursor, but when this happens, it typically seems to >> happen immediately after some event that updates part of the screen >> (like buffer switching), i.e. not as an effect of first showing the >> cursor and then "blinking it off". > > If this is true, maybe it is a redisplay bug. It may be so, but IIRC, when I last tried to debug this problem (months ago), the cursor did actually blink (shortly) every 30-something seconds. > > Could you try interrupting Emacs through gdb when this occurs, and > inspecting Vtimer_list to see if the `blink-cursor-timer-function' > timer is still active? I can't. As soon as emacs loses focus, it shows the (hollow) cursor. > > Another avenue of investigation is to add (redisplay) to > `blink-cursor-timer-function'. If that stops the problem, that means > there is a redisplay bug. I don't know how to provoke the bug -- it happens quite rarely, and I never found a way to reproduce it. When I tried to debug this, I did add some trace-dump to the timer routines in timer.el, but I never really got anything which could explain what the problem was. > I have unfortunately been unable to reproduce this bug. So have I... :-| It just happens... -- Kim F. Storm http://www.cua.dk