From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking Date: Sat, 11 Apr 2015 14:34:05 +0300 Message-ID: <837ftigaqa.fsf@gnu.org> References: <8761954apb.fsf@gnu.org> <831tjtfijq.fsf@gnu.org> <83zj6he14h.fsf@gnu.org> <87wq1kmnmh.fsf@gnu.org> <83d23cv2hj.fsf@gnu.org> <87sic8miwb.fsf@gnu.org> <83h9sotasm.fsf@gnu.org> <877ftkm8he.fsf@gnu.org> <83a8ygt8g5.fsf@gnu.org> <87y4m0kr53.fsf@gnu.org> <878udzentr.fsf@gnu.org> <87r3rrxl8z.fsf@gnu.org> <83bnivrudc.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428752123 9449 80.91.229.3 (11 Apr 2015 11:35:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2015 11:35:23 +0000 (UTC) Cc: 20285@debbugs.gnu.org To: tsdh@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 11 13:35:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ygtgt-0005oT-Ke for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Apr 2015 13:35:11 +0200 Original-Received: from localhost ([::1]:42368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygtgs-0007dm-GZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Apr 2015 07:35:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygtgo-0007bQ-Hw for bug-gnu-emacs@gnu.org; Sat, 11 Apr 2015 07:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygtgl-0004zh-Bx for bug-gnu-emacs@gnu.org; Sat, 11 Apr 2015 07:35:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygtgl-0004zF-90 for bug-gnu-emacs@gnu.org; Sat, 11 Apr 2015 07:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ygtgk-0003MT-V7 for bug-gnu-emacs@gnu.org; Sat, 11 Apr 2015 07:35:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Apr 2015 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20285 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20285-submit@debbugs.gnu.org id=B20285.142875205312802 (code B ref 20285); Sat, 11 Apr 2015 11:35:02 +0000 Original-Received: (at 20285) by debbugs.gnu.org; 11 Apr 2015 11:34:13 +0000 Original-Received: from localhost ([127.0.0.1]:52936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ygtfw-0003KM-Ut for submit@debbugs.gnu.org; Sat, 11 Apr 2015 07:34:13 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:54381) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ygtft-0003Ja-SK for 20285@debbugs.gnu.org; Sat, 11 Apr 2015 07:34:11 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NMN00F00410M000@a-mtaout20.012.net.il> for 20285@debbugs.gnu.org; Sat, 11 Apr 2015 14:34:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMN00FHV44Q5NB0@a-mtaout20.012.net.il>; Sat, 11 Apr 2015 14:34:02 +0300 (IDT) In-reply-to: <83bnivrudc.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101409 Archived-At: > Date: Sat, 11 Apr 2015 10:34:23 +0300 > From: Eli Zaretskii > Cc: 20285@debbugs.gnu.org > > > Of course, it's still possible that during the 10 seconds where the > > cursor was invisible on the screen there hasn't been a redisplay of the > > selected window, but how can I know? > > If your Emacs is configured with --enable-checking='yes,glyphs', then > you can invoke "M-x trace-redisplay RET", and see every entry to > redisplay_internal announced on stderr. After building Emacs 24.5 and observing the same issue there, I've decided to try to set blink-cursor-interval to something that is not an integer divider of 1 sec. So I set it to 0.53 sec, and lo and behold, the problem disappeared: the cursor blinks and blinks, and never stops blinking, even when there's JIT Stealth working in the background, as well as other stuff, as always in my sessions. So I think at least what I observed is somehow related to the specific value of 0.5 sec. Perhaps some other timer of other periodic activity (auto-save?) that runs at an integral multiple of 0.5 sec gets in the way somehow. E.g., it could toggle the cursor twice before the next redisplay cycle. Or something.