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#16621: 24.3.50; Periodic timer + overlays = flickering near point Date: Tue, 04 Feb 2014 18:00:36 +0200 Message-ID: <83a9e63m1n.fsf@gnu.org> References: <87r47m72ft.fsf@yandex.ru> <838utt4gff.fsf@gnu.org> <52F051D2.9020404@yandex.ru> <83eh3j35cq.fsf@gnu.org> <52F08602.5090501@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1391544933 4257 80.91.229.3 (4 Feb 2014 20:15:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 20:15:33 +0000 (UTC) Cc: 16621@debbugs.gnu.org To: Dmitry Gutov , Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 04 21:15:39 2014 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 1WAmPC-0001PG-Tj for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 21:15:39 +0100 Original-Received: from localhost ([::1]:54780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAmPC-0000TX-57 for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 15:15:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAl1Z-0005iJ-CN for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 13:47:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAl1U-0007jX-IQ for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 13:47:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAiQp-0003xw-8d for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 11:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAiQo-0006yg-KW for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 11:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2014 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16621-submit@debbugs.gnu.org id=B16621.139152965226804 (code B ref 16621); Tue, 04 Feb 2014 16:01:02 +0000 Original-Received: (at 16621) by debbugs.gnu.org; 4 Feb 2014 16:00:52 +0000 Original-Received: from localhost ([127.0.0.1]:49644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAiQd-0006yF-R4 for submit@debbugs.gnu.org; Tue, 04 Feb 2014 11:00:52 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:44552) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAiQX-0006xz-Lf for 16621@debbugs.gnu.org; Tue, 04 Feb 2014 11:00:47 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N0H00200AV9H800@mtaout27.012.net.il> for 16621@debbugs.gnu.org; Tue, 04 Feb 2014 17:59:38 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0H00MLEB3EN860@mtaout27.012.net.il>; Tue, 04 Feb 2014 17:59:38 +0200 (IST) In-reply-to: <52F08602.5090501@yandex.ru> 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:84564 Archived-At: > Date: Tue, 04 Feb 2014 08:17:38 +0200 > From: Dmitry Gutov > CC: 16621@debbugs.gnu.org, monnier@IRO.UMontreal.CA > > > You mean, outside Emacs? Yes, probably, but then this isn't an Emacs > > issue, and I know absolutely nothing about it. > > Would a windowing system know which Emacs display states are > "consistent", and which aren't? If hints are needed, we could do that. > AFAIU, flickering happens when the screen refreshes while Emacs display > is in an inconsistent state. Like, you've cleared a rectangle to paint a > character in it, but haven't yet painted it > > If you copied the rendered state into a buffer, then cleared and painted > the character there, then rendered the buffer into the window as a > whole, the windowing system won't get a chance to see and display the > intermediate state. Avoiding the cursor redraws sounds much easier, but again, I'm not an expert on this. Perhaps Jan could comment.