From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#45898: 27.1; wedged in redisplay again Date: Fri, 1 Jul 2022 06:42:23 +0200 Message-ID: <6A3A8E3E-9FF6-4509-893B-EBFF7B573CDA@gmail.com> References: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> <83v8t6us8t.fsf@gnu.org> <87zgiinptk.fsf@gnus.org> <83mteiufih.fsf@gnu.org> <877d5kojbo.fsf@gnus.org> <83zgigu3e0.fsf@gnu.org> <500e4b9c69f2a90e7cf05b956178d71b@webmail.orcon.net.nz> <835yl3tnv3.fsf@gnu.org> <83iloyo0x7.fsf@gnu.org> <83mte5jukr.fsf@gnu.org> <837d57gbed.fsf@gnu.org> <83o7yicx3p.fsf@gnu.org> <83pmir5lwc.fsf@gnu.org> <83mtdu68cl.fsf@gnu.org> <837d4yf18n.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Content-Type: multipart/signed; boundary="Apple-Mail=_15B25F76-91CE-4D99-B16A-8BDB89ED1B09"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37960"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, Eli Zaretskii , Emacs-hacker2018@jovi.net, larsi@gnus.org, 45898@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 01 06:43:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o78V3-0009fk-FG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 06:43:25 +0200 Original-Received: from localhost ([::1]:60556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o78V2-0000Q1-2y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 00:43:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o78Ug-0000Ps-Te for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 00:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o78Ug-00042W-LD for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 00:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o78Ug-0003IN-Jc for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 00:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 04:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45898 X-GNU-PR-Package: emacs Original-Received: via spool by 45898-submit@debbugs.gnu.org id=B45898.165665055612624 (code B ref 45898); Fri, 01 Jul 2022 04:43:02 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 1 Jul 2022 04:42:36 +0000 Original-Received: from localhost ([127.0.0.1]:36072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o78UG-0003HY-Cq for submit@debbugs.gnu.org; Fri, 01 Jul 2022 00:42:36 -0400 Original-Received: from mail-ed1-f54.google.com ([209.85.208.54]:36711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o78UB-0003HE-LW for 45898@debbugs.gnu.org; Fri, 01 Jul 2022 00:42:35 -0400 Original-Received: by mail-ed1-f54.google.com with SMTP id e2so1479950edv.3 for <45898@debbugs.gnu.org>; Thu, 30 Jun 2022 21:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=k3t9ZO1H8Lg0MBjCAFNrDkNReEr5t0KBE53LUWh1gUQ=; b=OnzVrZbi9/26oAFBIOPWfcaLJ+tYkSW9NmAd7SqPiZ+sVHJaP0XOh6or9qXHj567v7 NwWq7c1za7Y0E4xBRZSY2VOvY985eH7mI0NZuMYcAWkxubTuON61NCQCoeEvv71uLgbk V/jnh5B7kKVHzCnJIgrRgBk9wswguzZ45GlXrXcqBm/tZYjHHpnh9HMxliuyTtxVZNZB dayKcKTem2FekRSWLRoyqfYRv5RMJ5VVBQYh1SLJ5P41tPC59v0/66DO9x/R0KiiOS7H NLUibaPiOKGf6W8n/WAtwn2+a+pdqivf0dGh0ok/o4ywx84WZXKblKtIJzuycifDhsvt Z1yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=k3t9ZO1H8Lg0MBjCAFNrDkNReEr5t0KBE53LUWh1gUQ=; b=fzjBDc/eLerQZkFChg0s5ZZ/XrQAlR1e0ar+Msmzhp7cqlBW87C4Ubww3F42IAm5nE Ae3gMFZf0qi+Sb1nMQ7/qXuv9xrgyjkJ9vk5njFlW+r8X/xjJ0DYOSvUgMfdp0HmcLtn dg4k4w7QEKkA7C6a9/+CgA9bx4I7YLTATHOirTLbvuU8gIM3UkMdOJTtRn/4WI1jjDzQ 7wRALb5BU9wDz3cr5KOKAODQ63e8USIWY88CV1HIKEtj4jl2zL63pvRRC7bRpBtrepZh ZSBH7QOk+Y6F+Gf6Adxn9etUJJL0RGf6CtoT/tTSxelHuXsJLWByAqcvFm8HsxwoQcZ4 iWhA== X-Gm-Message-State: AJIora+8ITOfN+CTnIohdJ/Y8ERDKVMc2bAyvOG7xDFFOe7k2/AWRZdH cdMRVT45CcZjWHaJ/F6eRPc= X-Google-Smtp-Source: AGRyM1t3gWu3/lnXgBi6VX8yU6TLsH7mPteyNBEAQCVx4BUEO+ehCUUby3NpUQOaH79lEp6MkMBjtw== X-Received: by 2002:a05:6402:d05:b0:425:b5c8:faeb with SMTP id eb5-20020a0564020d0500b00425b5c8faebmr16055153edb.273.1656650545618; Thu, 30 Jun 2022 21:42:25 -0700 (PDT) Original-Received: from smtpclient.apple (pd9e369c3.dip0.t-ipconnect.de. [217.227.105.195]) by smtp.gmail.com with ESMTPSA id n22-20020a1709067b5600b00722ea7a7febsm9875782ejo.194.2022.06.30.21.42.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2022 21:42:24 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.100.31) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235759 Archived-At: --Apple-Mail=_15B25F76-91CE-4D99-B16A-8BDB89ED1B09 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 2022-06-30,, at 21:56 , Stefan Monnier = wrote: >=20 >>> Unsuprisingly so: none of `C-n/C-p/C-v/...` involve font-lock or >>> jit-lock either during their operation or during the >>> subsequent redisplay phase in the current code: the one-line is all >>> fontified once and for all when you open the file and after that >>> font-lock is not involved any more (until you make an edit, that = is). >>=20 >> That's only true if max-redisplay-ticks is zero. >=20 > Why would that make a difference? When I try `master` with this set = to > 100000, the file still shows up with font-locking, so apparently it's > been fully font-locked despite `max-redisplay-ticks` and after that > font-locking (and syntax-propertize) won't make any difference any = more > (until the buffer is edited) since they're already done. > [ Of course font-locking (and syntax-propertize) still do have an > effect in that the text-properties they applied can impact the time = it > takes for the redisplay to do its job; so by "won't make any = difference" > I mean that 0-cycles will be spent running font-lock of > syntax-propertize code. ] Would it be possible to run this with gprof profiling? I think that = could give some clues what is going on. --Apple-Mail=_15B25F76-91CE-4D99-B16A-8BDB89ED1B09 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAEBCgAdFiEEirYePpiT82Hjkftpc+obGZDFPmMFAmK+ey8ACgkQc+obGZDF PmM8fQ/7BvrbXL917at0cufuZuoUXAP+vmmDCjAzk0OqgFxJiYl89UaCt06PbEXn miTNuWnpycWUX00TzQaEUc+7Qn3EqQdq1BqWPjXf3ra6mra2Lszs3bN7U3lS4d3l 5eZtNzmBl35wR3iHKPcHVSU/mINacNVOs478PKEsL9tX5o6eY99tNViONfqAfeni 0nM1ygPwqhBys7A7x1rtJT/ha+OPtQoxw6ncJwvdDbBQFwfCV0SHA83X43aFW/JT VMdWiFElERsvaKKg5kP33Icb2XObIMd8C/Tn1yXmUby+7sZnFJgygYZ0i5M0lxE8 aGRjOGY09osrQrmEUnrcvyRBydn+3zkFoYz4IYG7LiwRLQF9xEwSpJi17T3ceGPI vY8NT/fRwWPdAfImgFRXKVPOj9nnE/bmmIp4UYrgi1GJNZzGGk7qNzjGqSiLwxLk FEeI/O9Tx36vHsKyksLzl3XnW4hq+zLcxWCkFkLoiS4LRB4uGtaxzpEMDu2DVyac /82rzu8k/WQJODzH8k/gAMi/NOlEeRZqfGruuQfENtYB6HtkKugBN3Vs2wU6pt2Y aiaCbdWFzdhPVJ0hDcm4I20X9weOFK3aUwYjAXA4F7rBsLkcHivO9r+N0o1AoJiK TU51Z6O2aRdfY0ICIuPJNSf+I3OHW4urBXkkQ3qMZox8Sl3GIO0= =obe2 -----END PGP SIGNATURE----- --Apple-Mail=_15B25F76-91CE-4D99-B16A-8BDB89ED1B09--