From unknown Mon Jun 23 04:10:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51631 <51631@debbugs.gnu.org> To: bug#51631 <51631@debbugs.gnu.org> Subject: Status: 29.0.50; cc-mode fontification makes CPU at 100% Reply-To: bug#51631 <51631@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:10:43 +0000 retitle 51631 29.0.50; cc-mode fontification makes CPU at 100% reassign 51631 emacs submitter 51631 Zhiwei Chen severity 51631 normal tag 51631 moreinfo confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 07:02:39 2021 Received: (at submit) by debbugs.gnu.org; 6 Nov 2021 11:02:39 +0000 Received: from localhost ([127.0.0.1]:48580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjJT5-00077R-0F for submit@debbugs.gnu.org; Sat, 06 Nov 2021 07:02:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:42182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjJT1-00077I-RD for submit@debbugs.gnu.org; Sat, 06 Nov 2021 07:02:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjJSu-000481-Bp for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 07:02:35 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:54106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjJSb-0004RA-6n for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 07:02:11 -0400 Received: by mail-pj1-x1029.google.com with SMTP id iq11so4740372pjb.3 for ; Sat, 06 Nov 2021 04:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=N4+/7tXEH2wzQD2uDXpkDGj1aGlYNET2kRt+forInfY=; b=i06mP4GXBUIiYL5Ex+wYkgKK3AXJOfJIBFL7uM2Fp1/Aq0eTiJfdjty0jkkP5d393P N4FcNKHc/75ZbD+rghco5CnbP8ZWo+uYgBYsVGtpnkdsAimvwFVSShkrdqgwXS0EOYWE ho7pMTg2tRyxNjuu53d8KOTPounHUTt7t0H/VHGBU0gAr3+eGMkz6iFuVQtp6T2ws4Rp Prnuq2ISRGrl149rSHLoGD14yKMjZlEuVKX9V6JH2JD68e/pH1KeeFAjaczck8IOuU/n GUghVQfE63DBKDclIbEriDTo4p6K655kbpz1JuxjJYb0j5Ni09qsjBJmBp3fLI+Agh1k nxJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=N4+/7tXEH2wzQD2uDXpkDGj1aGlYNET2kRt+forInfY=; b=nju4kI1Me3CYJz5qT5Ibv2lrk/YHbQ2Pc6x3um8JDtnnozxMBWrkAmU4Cvx4NSp1FL yLazkTgPlrNJXfbo5GVxXS8mW4b1z6V9Rm0kzUvxsQej8RaUuaVW56n8RM0TfcM/j0Fl rToBj1U2z+EytNk4b+NM6Z9vPlLRWALw8K8ZUcai7zYeaqKcs/fKU6ImOFo8flDnv+Hg V9QhUbZgGrd7gKTeBurI7RCf8FZFARCooMU9JmaM5Uw49PJ0PpWF7XB6pu9deii5yheV 9Hsa8QZHxrrFTl8QcEPPwdHYczK9QRRi38nKlFpxRNDPT5Psik9AS7K3V6bZdPTfp87f GY6Q== X-Gm-Message-State: AOAM531eueXxbUjSA3Wjk4TQMf9YiZoUs9Xhio7jfINHTLQSc3H7GoX8 pmUPUg2znC/vToKfukkSc5v86Qc+kxs= X-Google-Smtp-Source: ABdhPJwOA9m7nDoK+MF4LfCUKpZS+sOjPlwFCqOApMAnIgkhU9oY0jAaze6MHXPqFLuWmiS7qtuYyQ== X-Received: by 2002:a17:90a:7a81:: with SMTP id q1mr37302999pjf.1.1636196525927; Sat, 06 Nov 2021 04:02:05 -0700 (PDT) Received: from Youmu (192.69.92.236.16clouds.com. [192.69.92.236]) by smtp.gmail.com with ESMTPSA id e12sm8105580pgv.82.2021.11.06.04.02.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Nov 2021 04:02:05 -0700 (PDT) From: Zhiwei Chen To: bug-gnu-emacs@gnu.org Subject: 29.0.50; cc-mode fontification makes CPU at 100% Date: Sat, 06 Nov 2021 19:02:03 +0800 Message-ID: <87k0hl4kes.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=condy0919@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-11-06 built on lilydjwg Repository revision: 5a013838746c160cb296e0bc80a11795d2538f9a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Arch Linux It's originally reported at emacs-china.org [1]. emacs -Q, then open the following c++ snippet. #+begin_src C++ #include #include #define MAX 10000 void merge(std::vector array, int p, int q, int r) { int len_1 = q - p + 1; int len_2 = r - q; int a = 0; int b = 0; std::vector left_array(len_1 + 2, 0); std::vector right_array(len_2 + 2, 0); for (int i = 0; i < len_1; ++i) { left_array[i] = array[p + i - 1]; } for (int i = 0; i < len_2; ++i) { right_array[i] = array[q + i]; } left_array[len_1 + 1] = MAX; right_array[len_2 + 1] = MAX; for (int i = p; i < r + 1; ++i) { if (left_array[a] <= right_array[b]) { array[i] = left_array[a]; ++a; } else { array[i] = right_array[b]; ++b; } } } void merge_sort(std::vector array, int p, int r) { if (p < r) { int q = (p + r) / 2; merge_sort(array, p, q); merge_sort(array, q + 1, r); merge(array, p, q, r); } } int main() { std::vector array = {3, 1, 2, 6, 4, 5}; merge_sort(array, 0, array.size() - 1); for (auto i : array) { std::cout << i << "\n"; } return 0; } #+end_src The profiler shows `jit-lock-function' costs 62% CPU time. #+begin_src text 2952 62% - redisplay_internal (C function) 2936 62% - jit-lock-function 2936 62% - jit-lock-fontify-now 2920 62% - jit-lock--run-functions 2920 62% - run-hook-wrapped 2920 62% - # 2920 62% - font-lock-fontify-region 2920 62% - c-font-lock-fontify-region 2605 55% - font-lock-default-fontify-region 2534 53% - font-lock-fontify-keywords-region 1339 28% - c-font-lock-declarations 1317 27% - c-find-decl-spots 593 12% + # 582 12% + c-bs-at-toplevel-p #+end_src [1]: https://emacs-china.org/t/emacs-c/18814 -- Zhiwei Chen From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 14:36:14 2021 Received: (at 51631) by debbugs.gnu.org; 6 Nov 2021 18:36:14 +0000 Received: from localhost ([127.0.0.1]:50611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQY1-0006ty-T2 for submit@debbugs.gnu.org; Sat, 06 Nov 2021 14:36:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQY0-0006th-6N for 51631@debbugs.gnu.org; Sat, 06 Nov 2021 14:36:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KVpzXQSyXot4Ro0yciQ3AmKZvdmsk8bjY8/omzPeCAY=; b=ONn+IKYZBmPjklS7qEz+FORdDM m61ZNchVL41JUC7cDx04sEy0/WLsBmJ4gNZGXsXEO+ow3XPYLiv9czPSMsr+2j7MYuAONbA1pwdMH VumJ+sRbMhLZizKA/KC4PRuLJNoch6Ffl/5DpqCpVjWjzz29THOftZSjzG46gozPh8pM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjQXr-0000YC-Jb; Sat, 06 Nov 2021 19:36:06 +0100 From: Lars Ingebrigtsen To: Zhiwei Chen Subject: Re: bug#51631: 29.0.50; cc-mode fontification makes CPU at 100% References: <87k0hl4kes.fsf@gmail.com> X-Now-Playing: Floating Points with Pharoah Sanders and the London Symphony Orchestra's _Promises_: "Movement 6" Date: Sat, 06 Nov 2021 19:36:03 +0100 In-Reply-To: <87k0hl4kes.fsf@gmail.com> (Zhiwei Chen's message of "Sat, 06 Nov 2021 19:02:03 +0800") Message-ID: <87y2619lnw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Zhiwei Chen writes: > emacs -Q, then open the following c++ snippet. I put the snippet into a file /tmp/snippet.cc, and said: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51631 Cc: 51631@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Zhiwei Chen writes: > emacs -Q, then open the following c++ snippet. I put the snippet into a file /tmp/snippet.cc, and said: ./src/emacs -Q /tmp/snippet.cc But I was unable to reproduce the problem -- the file displayed as normal for me, and Emacs didn't use 100% CPU. Are there any additional steps necessary to reproduce the problem? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 14:36:18 2021 Received: (at control) by debbugs.gnu.org; 6 Nov 2021 18:36:18 +0000 Received: from localhost ([127.0.0.1]:50614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQY6-0006uD-3D for submit@debbugs.gnu.org; Sat, 06 Nov 2021 14:36:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQY4-0006tm-Fv for control@debbugs.gnu.org; Sat, 06 Nov 2021 14:36:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6gnraqCjCBDmQt6gJpmCxMHgimojrhtNpfSnYoF2qnw=; b=ggA1pDqkcu90yTfIUhquUoIQLk S2wo/64If7FTrCn+0576DLXhYcBxs9QPDMGoSa8h/Ukba0LaGvQ1uK6y7BgxdwocqOnKsIDMyS1cR Tjk0WU3wz7RHvQVnSmc4GrE1PPJ7fL4VH1cj8udPapwYYjLlDy4y6L2Uo7GUiS8ZQunE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjQXw-0000YM-GV for control@debbugs.gnu.org; Sat, 06 Nov 2021 19:36:11 +0100 Date: Sat, 06 Nov 2021 19:36:08 +0100 Message-Id: <87wnll9lnr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #51631 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 51631 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 51631 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 21:55:26 2021 Received: (at 51631) by debbugs.gnu.org; 7 Nov 2021 01:55:26 +0000 Received: from localhost ([127.0.0.1]:51300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjXP3-0006AP-Vk for submit@debbugs.gnu.org; Sat, 06 Nov 2021 21:55:26 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:43561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjXOz-0006A2-Dn for 51631@debbugs.gnu.org; Sat, 06 Nov 2021 21:55:25 -0400 Received: by mail-pf1-f181.google.com with SMTP id n85so8064019pfd.10 for <51631@debbugs.gnu.org>; Sat, 06 Nov 2021 18:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QmQZk7PEtsSE9PYCNI6NJp/cDGoIFjOdqFe943WTp7M=; b=cvyG+R9n4J05AhN2/88jp2hwvQnCkjBeLf+K9klqkRxDrNAEGRI/gFJ+GdP/rYWHHS rZRaoUr5hzv3qy9j6dL4m/+D4s7ar/IgK8oKMw7/gZnm5o7EAiy4oncADc+tkZy8g0La ykYmOeErMqoK8pGy3lKcN0aObdykFIYV1xCFN2gziqHS7KV3tGXqhbNv7Y7UOm9PSbpf GLrQ/8eIgEQZM5NbclI36BycrB5rV9IeowjouD3MNxmzqEDSvlnvOmefWehDK+DwavEd I75806UmEd26hYUclgaZ4SiBE6Mx4u+7PQHOG/kL7n0Tsx6R1ZSHmHmN14VlS2UEo+lr vF4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=QmQZk7PEtsSE9PYCNI6NJp/cDGoIFjOdqFe943WTp7M=; b=1isgMK1OzdgCtO8i6O6DaAvosGp5iDP+KS5ZtkQyd5hZiPpfVC/+l4HlKv8vWOQcf3 nkrIYHJJwDwZnzCNB7X7AXW5Fd0pn0tvWNFrXYpLjAlhhoEW7ydEAbxzLsJqtT5sofnZ vWd31yM7OMOc1OLQ4pAyI+ezztCyxq4mPbMOCSiaNXTKJlJyl1yQ1MSsoK1rpp56hpuC vbTwNQZUXfDE+NUiyT+I9qmTFoJ1Z8V5cRNh3L24D/7cJFHveHHYazUnYyqKL0gbV/q9 Y3idVCfQJFSXpLql/xivVJUl2ECwwhUjgHVM1RvO/Posu+ir/1uTxmADGw3hKFklluTQ 79aw== X-Gm-Message-State: AOAM531A1Tun9s5hqZedPP+i2B+yPccCEt7UWFZP1GVaWpnmV83klfmA jldvRWCeE+lpYGX6JBiFRg4NxLSLuis= X-Google-Smtp-Source: ABdhPJyqlVw5Rr/IHprtPz1IlbuJ6TmD/ayT4hourgLq06HTKbWzXD2W1zy/ygoNvoNmxJgOAIO2jg== X-Received: by 2002:aa7:8151:0:b0:480:9d40:8e38 with SMTP id d17-20020aa78151000000b004809d408e38mr55231912pfn.72.1636250115300; Sat, 06 Nov 2021 18:55:15 -0700 (PDT) Received: from Youmu (192.69.92.236.16clouds.com. [192.69.92.236]) by smtp.gmail.com with ESMTPSA id z15sm8921689pga.16.2021.11.06.18.55.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Nov 2021 18:55:15 -0700 (PDT) From: Zhiwei Chen To: Lars Ingebrigtsen Subject: Re: bug#51631: 29.0.50; cc-mode fontification makes CPU at 100% References: <87k0hl4kes.fsf@gmail.com> <87y2619lnw.fsf@gnus.org> Date: Sun, 07 Nov 2021 09:55:12 +0800 In-Reply-To: <87y2619lnw.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 06 Nov 2021 19:36:03 +0100") Message-ID: <877ddk6873.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 51631 Cc: 51631@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Lars Ingebrigtsen writes: > Zhiwei Chen writes: > >> emacs -Q, then open the following c++ snippet. > > I put the snippet into a file /tmp/snippet.cc, and said: > > ./src/emacs -Q /tmp/snippet.cc > > But I was unable to reproduce the problem -- the file displayed as > normal for me, and Emacs didn't use 100% CPU. > > Are there any additional steps necessary to reproduce the problem? Keeping pressing C-p/C-n will see the noticeable latency. To be specific, C-p/C-n in the merge function makes Emacs unresponsive. -- Zhiwei Chen From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 22:08:08 2021 Received: (at 51631) by debbugs.gnu.org; 7 Nov 2021 02:08:08 +0000 Received: from localhost ([127.0.0.1]:51319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjXbM-0006VJ-9e for submit@debbugs.gnu.org; Sat, 06 Nov 2021 22:08:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjXbK-0006Up-2M for 51631@debbugs.gnu.org; Sat, 06 Nov 2021 22:08:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cCF3G4d6xsJ83lweJc3Mr2yUMYmUL/YYffu/3wzb/bY=; b=oandsqHQzPdI7w3pL1LSt7h7Oc T8p8LbWXqbeWS3+RMUY2eW5lqec+ZIgNGHBK+irhuz9C2/LPEPVrfMRq4JF/gOCC6ahH9KSytgf3+ hrhEmYhuytvGOHRFDq1k4nnSRp9tOmwZiGfb+mAegKTDJj5Qtof/1Sqw/9MwLyvrD4fg=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjXbB-0003oT-Sn; Sun, 07 Nov 2021 03:08:00 +0100 From: Lars Ingebrigtsen To: Zhiwei Chen Subject: Re: bug#51631: 29.0.50; cc-mode fontification makes CPU at 100% References: <87k0hl4kes.fsf@gmail.com> <87y2619lnw.fsf@gnus.org> <877ddk6873.fsf@gmail.com> X-Now-Playing: Pet Shop Boys's _Cricket Wife_: "Cricket Wife" Date: Sun, 07 Nov 2021 03:07:55 +0100 In-Reply-To: <877ddk6873.fsf@gmail.com> (Zhiwei Chen's message of "Sun, 07 Nov 2021 09:55:12 +0800") Message-ID: <874k8ora4k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Zhiwei Chen writes: > Keeping pressing C-p/C-n will see the noticeable latency. To be > specific, C-p/C-n in the merge function makes Emacs unresponsive. Ah, yes -- point movement inside the merge function takes a noticeable amount of time. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51631 Cc: Alan Mackenzie , 51631@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Zhiwei Chen writes: > Keeping pressing C-p/C-n will see the noticeable latency. To be > specific, C-p/C-n in the merge function makes Emacs unresponsive. Ah, yes -- point movement inside the merge function takes a noticeable amount of time. I've added Alan to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 11 14:06:39 2021 Received: (at control) by debbugs.gnu.org; 11 Nov 2021 19:06:39 +0000 Received: from localhost ([127.0.0.1]:42281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlFPC-0007JT-W4 for submit@debbugs.gnu.org; Thu, 11 Nov 2021 14:06:39 -0500 Received: from colin.muc.de ([193.149.48.1]:62252 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1mlFPA-0007JE-Ns for control@debbugs.gnu.org; Thu, 11 Nov 2021 14:06:37 -0500 Received: (qmail 34005 invoked by uid 3782); 11 Nov 2021 19:06:29 -0000 Received: from acm.muc.de (p4fe159a8.dip0.t-ipconnect.de [79.225.89.168]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 11 Nov 2021 20:06:29 +0100 Received: (qmail 8947 invoked by uid 1000); 11 Nov 2021 19:06:29 -0000 Date: Thu, 11 Nov 2021 19:06:29 +0000 To: control@debbugs.gnu.org Subject: Merge bugs 51631 and 51692 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 51631 51692 quit -- Alan Mackenzie (Nuremberg, Germany). From unknown Mon Jun 23 04:10:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 11 Dec 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator