From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: RFC: flicker-free double-buffered Emacs under X11 Date: Fri, 28 Oct 2016 10:19:37 +0300 Message-ID: <83oa25rldi.fsf@gnu.org> References: <9e8ad090-a6a0-c807-95ae-7ec7c3f391cb@dancol.org> <83k2d2rssf.fsf@gnu.org> <831sz9sime.fsf@gnu.org> <83y41hqz94.fsf@gnu.org> <838tte5fzq.fsf@gnu.org> <740d34db48a1e4b711cb1cfa987423c9.squirrel@dancol.org> <1706d8c5-118b-7d68-bd25-1f95b1787aa2@cs.ucla.edu> <57c7048e-a6d1-9908-0331-675073aa11e6@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1477640043 17825 195.159.176.226 (28 Oct 2016 07:34:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 07:34:03 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 28 09:34:00 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c01fj-00030u-Ak for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2016 09:33:51 +0200 Original-Received: from localhost ([::1]:47191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c01fl-00038x-PU for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2016 03:33:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c01Rw-0000ng-Ty for emacs-devel@gnu.org; Fri, 28 Oct 2016 03:19:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c01Rs-00046R-Ux for emacs-devel@gnu.org; Fri, 28 Oct 2016 03:19:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c01Rs-00046N-R8; Fri, 28 Oct 2016 03:19:32 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3663 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c01Rs-0007ng-4h; Fri, 28 Oct 2016 03:19:32 -0400 In-reply-to: <57c7048e-a6d1-9908-0331-675073aa11e6@cs.ucla.edu> (message from Paul Eggert on Thu, 27 Oct 2016 19:07:09 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208922 Archived-At: > From: Paul Eggert > Date: Thu, 27 Oct 2016 19:07:09 -0700 > Cc: emacs-devel@gnu.org > > Daniel Colascione wrote: > > > I've found the flickering while editing to be very machine-dependent.... > > I've found I can reliably reproduce the flickering by isearching for a > > string that appears in a buffer only once, then leaning on C-s. > > Weird. I can't reproduce the flickering problem on either Fedora 24 GTK x86-64 > or Ubuntu 16.04.1 GTK x86-64, even though I tried your recipe. I wonder what's > different about my platforms? My guess is either your systems are too slow, or the keyboard auto-repeat rate is too high. This stuff is very timing-dependent, and in this particular case it depends on the relative speed of redisplay and keyboard auto-repeat. > > if we're C99-only anyway now, we might as well allow > > C99 comments. > > Maybe, but that would be a different topic, and should be addressed in a > separate patch. For example, we might also need to change our C-reading programs. Please note that we already have "//" comments in a few places, so if we don't yet want to allow them, we should remove those.