From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Fri, 10 Apr 2020 17:34:57 +0300 Message-ID: <94ee576f-ff26-cad9-3e22-b75299ff9cdb@yandex.ru> References: <20200403174757.GA8266@ACM> <20200404104553.GA5329@ACM> <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> <83blo7v68b.fsf@gnu.org> <1845d7aa-9ae4-3d95-6a30-c7b1d8d8adec@gmx.at> <83a73qt6zs.fsf@gnu.org> <97c4254e-ff43-8402-3645-f713c408c245@gmx.at> <83y2r9syby.fsf@gnu.org> <20200405195753.GG5049@ACM> <542b48ba-4dfa-820f-ba50-4b147ab6d8e2@yandex.ru> <0a5f70aa-4985-8f8d-81d6-6ac4a60a94f9@yandex.ru> <838sj8sphk.fsf@gnu.org> <834ktwsmfw.fsf@gnu.org> <83imibqsmm.fsf@gnu.org> <478c2aab-a5fc-61c2-02e2-2d9846b95273@yandex.ru> <83v9m9nltx.fsf@gnu.org> <4c5ebff1-39ab-3d63-6118-42befc93b862@yandex.ru> <6914ebb2-2dfa-efdc-1181-c42259219bca@yandex.ru> <83zhbjna0q.fsf@gnu.org> <903b7d31-bd0e-e2dc-a981-d090ed959ccb@yandex.ru> <83pncfmpme.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="43891"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, rrandresf@gmail.com, monnier@iro.umontreal.ca, acm@muc.de To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 10 16:35:54 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMul7-000BIT-Fg for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 16:35:53 +0200 Original-Received: from localhost ([::1]:35162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMul6-0003BM-Ha for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 10:35:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51567) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMukM-000261-35 for emacs-devel@gnu.org; Fri, 10 Apr 2020 10:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMukL-00008j-2A for emacs-devel@gnu.org; Fri, 10 Apr 2020 10:35:05 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jMukI-000058-Ac; Fri, 10 Apr 2020 10:35:02 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id g3so2529694wrx.2; Fri, 10 Apr 2020 07:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hR/HthrCManRlWxDic5ANJmbBBkooyosgYxaQeXrthM=; b=Vay9sfysmy6ZMFYf3KZzLGtsTNEFn8wrjKFIw0LPi6oe1N+S36IpTgZNf7Z3JRSkke aueqoiqwkXL43ArnhbyQyy6FSmzMfRKbyfMhHCaqlcBC7PyMGPAM+mnGSLUh95WkaLY1 qy9zy8n3fcWei4CSGN+G+TxQ270D7JEcHyy2sfdZTtk63s2t+FvaPTPndKZ2VzzFAhP+ tfoPrJ1djxIwyQFqSETb+fNr7Dqys1ha6SBpLK6BuJF7kp3c4j8uOqpwHzyIFjEeVRI2 9ZOUIUrMrYmD1v+a9wV0ZHyFu5LG/grwGhUMX06649OeHpL0t2YEd6d9GClrzM+MvFRi JvVg== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hR/HthrCManRlWxDic5ANJmbBBkooyosgYxaQeXrthM=; b=LH8gfeMPL6c+jM+/BhlxrQXODks18NS7/u4iYuoxfBgeHkpsySWqMfeD1AGVAmXILu VswHy2crVLi4WQ4LwMzXs/VxebcXI/iJLadtyh7oQ8HOY2bYX+xf+xrLgeMI+lI0r06E 1fZidzSDweROXfx/cUoSFapsPnbBcwVGRbHnd3bg+sKKo9XASTaV055fGxe0FRy7yjKi PwhaaxyzqGMd3eYRBLUTWDNuX949LM86zrHsJDgTADwzWOMSpKfa7+ihybRu9Uk3G7il vpl/lhdLQtjiTWgIOYQJYbY6u83X/1ypWf/zPX+za1HA/CgDm1Mc0YdfeQniJ5HPG5yv eOXg== X-Gm-Message-State: AGi0Pubotov9u9lRphzpr3LDwaGi5Wc8v2hpqpbg8/vpz3+j+InBCRyN cRfxLzELCg0938AHgvmM8/Y= X-Google-Smtp-Source: APiQypKTw0OfxpLha0gAPR77eJRX1aTsjLQeGQdqx6dEag+u5oVMrKCjwmK7D0ISjNiWpH6zS2LG2w== X-Received: by 2002:adf:ab5d:: with SMTP id r29mr5392205wrc.158.1586529300772; Fri, 10 Apr 2020 07:35:00 -0700 (PDT) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id k133sm3321200wma.0.2020.04.10.07.34.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Apr 2020 07:34:59 -0700 (PDT) In-Reply-To: <83pncfmpme.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:4864:20::435 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246759 Archived-At: On 10.04.2020 16:34, Eli Zaretskii wrote: > It doesn't flicker here. Maybe the double-buffering is the reason? Double-buffering decreases the number of display updates, so it hardly can be the cause of this. As we've discussed with Stefan, the implementation is likely the reason. > With -Og, if you set jit-lock-defer-time to 0.5, doesn't it scroll > much faster? does it flicker then? It doesn't scroll much faster than with the value of 0 (that already scrolls fast enough). It doesn't flicker while scrolling because it simply shows unfontified screenfuls of code. Which is unacceptable for default behavior. And I'd hesitate to recommend it to anyone even to deal with performance problems. It *does* flicker afterwards (e.g. 0.5 sec after I depress C-v), because that's what deferred jit-lock does: it applies syntax highlighting with a delay. So I type, wait 0.5sec, and syntax highlighting arrives. It's a less-aggravating kind of flicker because of its laid-back pace, but I still wouldn't call it acceptable user experience.