From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Emacs flickers periodically Date: Sat, 17 Jun 2017 22:27:56 +0300 Message-ID: References: <8760fvamxg.fsf@gmail.com> <4db8168a-f397-3ac7-2a6f-a1f2255bab49@yandex.ru> <87wp8bey1z.fsf@debian.uxu> <8691587e-2d96-d668-e5b6-8ee9c3a823db@yandex.ru> <83r2yizy7b.fsf@gnu.org> <6210966a-07cc-f16d-b63f-7b91616713e9@yandex.ru> <83o9tmzpiw.fsf@gnu.org> <83d1a2zckx.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1497727714 5213 195.159.176.226 (17 Jun 2017 19:28:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Jun 2017 19:28:34 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0 To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 17 21:28:30 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1dMJOX-0000y2-Lg for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 21:28:29 +0200 Original-Received: from localhost ([::1]:36060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMJOb-0000ph-52 for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 15:28:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMJO7-0000pb-Ti for help-gnu-emacs@gnu.org; Sat, 17 Jun 2017 15:28:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMJO4-0000He-Oz for help-gnu-emacs@gnu.org; Sat, 17 Jun 2017 15:28:03 -0400 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:37283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMJO4-0000HS-IV; Sat, 17 Jun 2017 15:28:00 -0400 Original-Received: by mail-wm0-x22f.google.com with SMTP id d73so45706482wma.0; Sat, 17 Jun 2017 12:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=X0jmHNTy1QlasK2MywE3njp5hivElIofxTkJjeGEa9o=; b=Z3YTwxAfpfoTZvGob2Kh3sR9C5ZRKvbDg28hT+OFwCqtjlSzjXI22IQSwnj+STFbsE 80HQDlLIVthbFlasireYadwo8+ItOSxrvFFK6t3/kc/FJeeh8gvhAc2uVESaRu7JeLa1 JS4VIaCyZsMpM/o1J6SboHT3QCHyo7zHYc7fykbvJlviuLYE2L53BAV3rjcDFnvwjEK2 xjNKxZ0Kr2KXlOJxtQVmwKr592hXmn5QaX822/wXOkKnfwWQmme2xH2Cam2uTH41vVRI QG6rBUEOSkZpT6pAHGBwoenj2qllkM0sxS6gzmbZfIcgsD3BzYVZGk1CsLjLffnIzqVL lRjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=X0jmHNTy1QlasK2MywE3njp5hivElIofxTkJjeGEa9o=; b=TMrHZQllKOCsT2Hq6c+2OZrwXd41NV5l6duRsJGxdLpgjpxYY3eg6EugFoPDW6lgdQ Y6a6w4ea7D8xSsRtMcXQAe5h8+0G6U2/k+t3jsGrNJv0EVKbJUo1uh4MQxFiPvxovakc Ex2uBjczOmCAtHOtutMNobaqafKLqldRzI3Xzr9dEgT2N0fiCV1/Mp+9HzUytDZROkBJ AesZetMFAGff6t863tfBaMAOXr+xtDU0jHHVejKQLPme6hdyq0S/M5CisS4uTZ8d45wH FkwnH+6yikSzVOo9xB1eDD+kJeu7zgdK9G8CAdsbhWaf8PevPIUgoRiFtIMqEV6p/CKK Dxiw== X-Gm-Message-State: AKS2vOy1gPjVqA3I+U8HE9lf58WRRolVSi/CNCJ6+OGhfVVZR9iO56Fs zWRliJ8B9/Ucuz8Ym98= X-Received: by 10.28.234.79 with SMTP id i76mr11208842wmh.3.1497727679280; Sat, 17 Jun 2017 12:27:59 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id 33sm3894438wrr.58.2017.06.17.12.27.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Jun 2017 12:27:58 -0700 (PDT) In-Reply-To: <83d1a2zckx.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113518 Archived-At: On 6/17/17 9:35 PM, Eli Zaretskii wrote: > Flickering is not caused by display synchronization. It is caused by > constant redrawing of large portions of display with the same content. Not necessarily large ones. And vice versa, large portions of display can be redrawn often and the user might be fine with it if only consistent states are shown. The result might be called "animation". >>> AFAIK, Emacs never redraws display in inconsistent state (barring >>> bugs, of course). >> >> But that's the effect that the double-buffering patch brings: limiting >> redrawing to consistent states only. >> >> So maybe those were bugs (like 12363 and 16621), but they went unfixed >> until Daniel's patch. > > That's not what double-buffering does. What it does, AFAIU, is let > Emacs redraw however many times it wants, and then bitblt the result > only once to the glass. Those are implementation details. In effect, the redraw happens once. But *when* does it happen? If the choice of this moment was not good enough, bugs 12363 and 16621 would continue occurring.