From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 23 23:08:35 2022 Received: (at submit) by debbugs.gnu.org; 24 Nov 2022 04:08:35 +0000 Received: from localhost ([127.0.0.1]:56839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy3XO-0006cU-UN for submit@debbugs.gnu.org; Wed, 23 Nov 2022 23:08:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:42760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy3XM-0006cK-EC for submit@debbugs.gnu.org; Wed, 23 Nov 2022 23:08:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy3XM-00077X-8P for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 23:08:32 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy3XK-0004m7-4S for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 23:08:31 -0500 Received: by mail-pg1-x52e.google.com with SMTP id f3so589185pgc.2 for ; Wed, 23 Nov 2022 20:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=vMser14mO8ZN1biqHHYmwknN7XLyrbZGVE/kZ3u0eW8=; b=KgT+xsDNik9SU0TGVPExvOCLsl+s8GkT8mrjZmIYCgvYkj8eRS5FT7XDZjkSgd9gKD Rfez0LKqcN+9H9hg9eX8Xs9Qfh4/gY7Bv+jP4DWYk1nU4i2Ooy3ITYAH+YFqjx9CFvb8 16QTPzVcBEqWhe1MxqGCJe7wV9y1ZuhGE3vjr5T9EUcxUdpY4N7++iF6s+Emouco7x8+ JVA1w9gkKIakm0xOgAqGFWDg5a1vN1hISd1kFeyd+EM+wLAkOJMd6ecMevRHQSQrZov6 YbUd/63cPtHKnpEHO3B64N3B9rqHWFMcE+ZVOdSmrtuVKtpeaiVq4ydXXjIlES6NIj73 wC7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vMser14mO8ZN1biqHHYmwknN7XLyrbZGVE/kZ3u0eW8=; b=w3RWc2bQS57d9yXvvhK0em0bRXk9gr/GLcE3LhI3JJRDuwGIgP3AvnkBa2jGKRX2SV 0BkdFiEWJMHGhk3+1HJAEFFQHvIQn8Z/ApgohqqLcjuTLg5HigkZ0A8YfISSRJ9PYX1d CK/sQUo6qcv4pvnnK0DzW0vU2pv67pUMotj0ysN/7+H4GbR4o92ldCx+Svp2fWPzEpFx HJi3Jzdackrux0VpK7n5xRnh2MJHcp4mMuKj39L4Xj6N1l6jIbZsdYI+2vNsH/7MDYvh Gu3P/hst+XWAfBMkofDmPsmXeo/Y83Ap8kQY50pqXwzbxAp+nH48Zhq7cJ+DxIwr1a5S Q25A== X-Gm-Message-State: ANoB5pkErwGA1OEYZFEDAiGSFkfH+UXtp5RwgDL6CYAYON/BrI62jV7i JrBGMh3EYSETWOWJ0y7IejZYETVx2Fk= X-Google-Smtp-Source: AA0mqf4wGI6MBClEj44tf7Wv1riNO0MlFQNgeeLik5UdmQb0e3zTWkqM6jcoasRzRFVmadbCy8EnlA== X-Received: by 2002:aa7:93c2:0:b0:56d:8145:3faa with SMTP id y2-20020aa793c2000000b0056d81453faamr12231174pff.75.1669262906068; Wed, 23 Nov 2022 20:08:26 -0800 (PST) Received: from comp-lnx ([2409:4056:218:5dba:3d80:1278:b302:3e53]) by smtp.gmail.com with ESMTPSA id b30-20020aa78ede000000b0057255b82bd1sm17208pfr.217.2022.11.23.20.08.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 20:08:25 -0800 (PST) User-agent: mu4e 1.9.3; emacs 29.0.50 From: Sujith Manoharan To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Fontification hangs with C header file Date: Thu, 24 Nov 2022 09:32:03 +0530 Message-ID: <87wn7lm1o4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=sujith.wall@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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.3 (-) 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.3 (--) Opening this header file with lots of macros makes Emacs very slow. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_sh_mask.h Same behavior is seen with other header files inside asic_reg. Fontification/scrolling hangs Emacs and it becomes unusable. Bug #25706 suggested the workaround 'fast-but-imprecise-scrolling', but enabling it doesn't seem to improve things now. In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw scroll bars) of 2022-11-24 built on comp-lnx Repository revision: b37604c263e4813dc2a8b80e4e9131a3961c4f3e Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Arch Linux Configured using: 'configure --prefix=/usr/local --enable-link-time-optimization --without-libsystemd --with-x-toolkit=lucid --without-dbus --without-gsettings --without-selinux --with-native-compilation --with-imagemagick 'CFLAGS=-O2 -march=native'' Configured features: ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_IN.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: global-pg-break-lines-mode: t page-break-lines-mode: t save-place-mode: t savehist-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: 1 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow face-remap mu4e mu4e-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat advice org-macs org-loaddefs format-spec find-func mu4e-main mu4e-view thingatpt comint ansi-osc cal-menu calendar cal-loaddefs mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message hl-line mu4e-contacts mu4e-update mu4e-folders mu4e-server mu4e-context mu4e-obsolete mu4e-vars mu4e-helpers mu4e-config bookmark pp emacsbug diff-mode gnus-fun misearch multi-isearch mule-util qp sort smiley ansi-color gnus-cite flow-fill mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-ml gnus-msg nndoc gnus-cache gnus-dup gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit mm-archive message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mailabbrev gmm-utils mailheader mail-utils gnutls network-stream url-cache display-line-numbers debbugs-gnu add-log debbugs-compat debbugs soap-client mm-decode mm-bodies mm-encode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny rng-xsd rng-dt rng-util xsd-regexp xml xcscope ring ido dired-x dired dired-loaddefs disp-table easy-mmode page-break-lines cycbuf saveplace savehist comp comp-cstr warnings icons rx cl-extra help-mode vlf-autoloads cycbuf-autoloads emms-autoloads page-break-lines-autoloads w3m-load w3m-autoloads nov-autoloads esxml-autoloads elisp-benchmarks-autoloads kv-autoloads markdown-mode-autoloads visual-fill-column-autoloads info debbugs-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 500168 20588) (symbols 48 25070 7) (strings 32 111874 5151) (string-bytes 1 3139956) (vectors 16 72444) (vector-slots 8 1167524 27317) (floats 8 733 134) (intervals 56 3981 360) (buffers 992 23)) From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 26 06:02:22 2022 Received: (at 59530) by debbugs.gnu.org; 26 Nov 2022 11:02:22 +0000 Received: from localhost ([127.0.0.1]:37964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oysww-0005L9-7K for submit@debbugs.gnu.org; Sat, 26 Nov 2022 06:02:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyswu-0005Kx-Jv for 59530@debbugs.gnu.org; Sat, 26 Nov 2022 06:02:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyswo-0006Xf-R7; Sat, 26 Nov 2022 06:02:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ehh8OirfbS9uZYh4XWgzyXHAQrNcdNZf2Z5Xrl0GvYI=; b=l2CRA33y8n5c smmiBJwwtF6/sAbwvpSi9l9hlzIQXCKoSfE2REIgpLRBit7Sr80fuDYfpljS/zLIN2Xq29zyQNCji /glf2TcNfcCeBJA7Y+Tzw2f6CQug81sZeG57ax0jJ7J6VtOYLiiAvSOc8sSmE8l8SLZG6eIz367kK DEHK7327NC3N116hEx7Lo82SKUS2TWFYWAeJt7hWMflq7oIALiOMG8tXghbntZY68Xc9EnpMTFVxh Z+EYJPWCESbFD4C9TjGuj9w6H1QOs9BWhMCXC4mKercNS7fY7zQcieGGfA0XZEsCrL1AM4bpcaiPF 4wnVJBCNHRbFBBFOZ+SwrQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyswn-0008Pt-1A; Sat, 26 Nov 2022 06:02:14 -0500 Date: Sat, 26 Nov 2022 13:02:38 +0200 Message-Id: <83a64et1v5.fsf@gnu.org> From: Eli Zaretskii To: Sujith Manoharan , Alan Mackenzie In-Reply-To: <87wn7lm1o4.fsf@gmail.com> (message from Sujith Manoharan on Thu, 24 Nov 2022 09:32:03 +0530) Subject: Re: bug#59530: 29.0.50; Fontification hangs with C header file References: <87wn7lm1o4.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59530 Cc: 59530@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 (---) > From: Sujith Manoharan > Date: Thu, 24 Nov 2022 09:32:03 +0530 > > Opening this header file with lots of macros makes Emacs > very slow. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_sh_mask.h > > Same behavior is seen with other header files inside asic_reg. > Fontification/scrolling hangs Emacs and it becomes unusable. > > Bug #25706 suggested the workaround 'fast-but-imprecise-scrolling', > but enabling it doesn't seem to improve things now. Alan, did you see this bug report? From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 26 09:11:41 2022 Received: (at 59530) by debbugs.gnu.org; 26 Nov 2022 14:11:41 +0000 Received: from localhost ([127.0.0.1]:38271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyvu9-0004nr-Iq for submit@debbugs.gnu.org; Sat, 26 Nov 2022 09:11:41 -0500 Received: from mx3.muc.de ([193.149.48.5]:27550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyvu6-0004nc-L3 for 59530@debbugs.gnu.org; Sat, 26 Nov 2022 09:11:40 -0500 Received: (qmail 19855 invoked by uid 3782); 26 Nov 2022 15:11:30 +0100 Received: from acm.muc.de (p4fe15e1b.dip0.t-ipconnect.de [79.225.94.27]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 26 Nov 2022 15:11:30 +0100 Received: (qmail 7471 invoked by uid 1000); 26 Nov 2022 14:11:28 -0000 Date: Sat, 26 Nov 2022 14:11:28 +0000 To: Eli Zaretskii Subject: Re: bug#59530: 29.0.50; Fontification hangs with C header file Message-ID: References: <87wn7lm1o4.fsf@gmail.com> <83a64et1v5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83a64et1v5.fsf@gnu.org> 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: 59530 Cc: Sujith Manoharan , 59530@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: -1.0 (-) Hello, Eli. On Sat, Nov 26, 2022 at 13:02:38 +0200, Eli Zaretskii wrote: > > From: Sujith Manoharan > > Date: Thu, 24 Nov 2022 09:32:03 +0530 > > Opening this header file with lots of macros makes Emacs > > very slow. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_sh_mask.h > > Same behavior is seen with other header files inside asic_reg. > > Fontification/scrolling hangs Emacs and it becomes unusable. > > Bug #25706 suggested the workaround 'fast-but-imprecise-scrolling', > > but enabling it doesn't seem to improve things now. > Alan, did you see this bug report? I hadn't, no, but I think it's already been fixed by the following commit: commit 3208a42c47c4f98cb03c4b15164ca83113244b40 Author: Alan Mackenzie Date: Thu Nov 24 10:51:03 2022 +0000 CC Mode: Make it scroll fast over buffers with only #define's The OP's test file was around 6 MB big. When I scrolled all the way through it, it took around 32 seconds. I'll look into this more carefully, and get in touch with the OP. Thanks! -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 26 10:09:19 2022 Received: (at 59530) by debbugs.gnu.org; 26 Nov 2022 15:09:19 +0000 Received: from localhost ([127.0.0.1]:41127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oywnv-0006wn-HN for submit@debbugs.gnu.org; Sat, 26 Nov 2022 10:09:19 -0500 Received: from mx3.muc.de ([193.149.48.5]:29209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oywnr-0006wX-J2 for 59530@debbugs.gnu.org; Sat, 26 Nov 2022 10:09:18 -0500 Received: (qmail 13213 invoked by uid 3782); 26 Nov 2022 16:09:09 +0100 Received: from acm.muc.de (p4fe15e1b.dip0.t-ipconnect.de [79.225.94.27]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 26 Nov 2022 16:09:09 +0100 Received: (qmail 31125 invoked by uid 1000); 26 Nov 2022 15:09:07 -0000 Date: Sat, 26 Nov 2022 15:09:07 +0000 To: Sujith Manoharan Subject: Re: bug#59530: 29.0.50; Fontification hangs with C header file Message-ID: References: <87wn7lm1o4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wn7lm1o4.fsf@gmail.com> 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: 59530 Cc: 59530@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: -1.0 (-) Hello, Sujith. On Thu, Nov 24, 2022 at 09:32:03 +0530, Sujith Manoharan wrote: > Opening this header file with lots of macros makes Emacs > very slow. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_sh_mask.h > Same behavior is seen with other header files inside asic_reg. > Fontification/scrolling hangs Emacs and it becomes unusable. Thanks for taking the trouble to report this bug, and sorry for the irritation it has caused. > Bug #25706 suggested the workaround 'fast-but-imprecise-scrolling', > but enabling it doesn't seem to improve things now. I think the bug has already been fixed, coincidentally on Thursday, by the following commit to master: commit 3208a42c47c4f98cb03c4b15164ca83113244b40 Author: Alan Mackenzie Date: Thu Nov 24 10:51:03 2022 +0000 CC Mode: Make it scroll fast over buffers with only #define's , committed just a few hours after you reported the bug. I have a test script which scrolls all the way through a file, timing how long it takes. Before the above commit, it took ~1524 seconds on dce_12-0_sh_mask.h, after the commit, it took ~31.4 seconds. Would you please update your Emacs version, and see if this commit has indeed resolved the problem, then let us know. Thanks! > In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo > version 1.17.6, Xaw scroll bars) of 2022-11-24 built on comp-lnx > Repository revision: b37604c263e4813dc2a8b80e4e9131a3961c4f3e > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 > System Description: Arch Linux [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 27 03:43:49 2022 Received: (at 59530) by debbugs.gnu.org; 27 Nov 2022 08:43:49 +0000 Received: from localhost ([127.0.0.1]:42064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozDGP-00086R-7X for submit@debbugs.gnu.org; Sun, 27 Nov 2022 03:43:49 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:47101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozDGL-00086L-Oo for 59530@debbugs.gnu.org; Sun, 27 Nov 2022 03:43:47 -0500 Received: by mail-pl1-f181.google.com with SMTP id jn7so7513125plb.13 for <59530@debbugs.gnu.org>; Sun, 27 Nov 2022 00:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=uHlGA0G8zCnbxCDjZ9/zjBtqGVgW0xmusCCqfQNf/rc=; b=ejVaS04VGHR9D3lddKsLiyJ4CwXRXHpdnxnPKyJJHtwd4w83WMzDL+IyN60KJJveYg b21EtFdvZTK5AMov6pmjRwAQxvNzW4R76hLJ2dyo4FMeVjX1d+G2eBS3OVlPZspBWkOg dJMCoXXNFlbZdwe3G/WwhDKuR5SGfgWqc6EpGrhufpnSIn6UQip/Q6TNu1qtPb4rH/WB /BCxYA2LIwEnQglIvKycAaRDUIMxLvwUwJvhscSFTZvXD0DPMoMXbTJB4qT1wobFwD4M v4+H44n3CXJL0Y2kIVEkResjbGoBsQg07177kE0eoBZG9ybRW8hMxGaVBroUUHvOGrhb NxWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uHlGA0G8zCnbxCDjZ9/zjBtqGVgW0xmusCCqfQNf/rc=; b=ZvTVGqTkKKCszTWbjuMgjB404/NMXG+UzvSFpH/1isJ79erFIJwKCm6nYpH2bdSV5B wqYeQ8fgrgd4zI/2ZnosTMFqiAYZ4Q4ZAPK72/kbtvQtWw0DQ36Ao88FeQV7+l0/K8lB thBCT7L0MWASTAbWJUhdpjSPucPq9t1X8pm/27DoMGb9AEAgVT0NI6vZc1dpH1vA+PLe t8vztvbwirRhIxGrclQRPAV7OQpyJlCXLCpPpANl2D+ukFEJ6ncGacX4ga7dKLKAMibG +F7nO5ntQrn7jjG6NxTtthV3wIky1SlcNlV30oZBBB4f/5APyE0YXLKqzL7UDIx/v+lN O0Ug== X-Gm-Message-State: ANoB5pnDuY0md74KjmW+6i/1e4iTt+xbPt0VpWcdgzRMfhqbnpnF6i0X JKqZEtyVI6OShrbUCHjAF2DdkNmF9dE= X-Google-Smtp-Source: AA0mqf4KNdh/DraYAjx47K9d0/iGnKKgmRTzC0nQbYKIr3MbVDwJBAZbKirMOXkZbTZJ0TvVgmaUHQ== X-Received: by 2002:a17:90a:d34d:b0:218:a0ce:9d5e with SMTP id i13-20020a17090ad34d00b00218a0ce9d5emr38398972pjx.96.1669538619868; Sun, 27 Nov 2022 00:43:39 -0800 (PST) Received: from comp-lnx ([2409:4056:218:5dba:3d80:1278:b302:3e53]) by smtp.gmail.com with ESMTPSA id bb8-20020a170902bc8800b00174c0dd29f0sm6426539plb.144.2022.11.27.00.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 00:43:39 -0800 (PST) References: <87wn7lm1o4.fsf@gmail.com> User-agent: mu4e 1.9.3; emacs 29.0.50 From: Sujith Manoharan To: Alan Mackenzie Subject: Re: bug#59530: 29.0.50; Fontification hangs with C header file Date: Sun, 27 Nov 2022 14:15:26 +0530 In-reply-to: Message-ID: <87pmd8eqco.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59530 Cc: 59530@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: -1.0 (-) Alan Mackenzie writes: > I think the bug has already been fixed, coincidentally on Thursday, by > the following commit to master: > > commit 3208a42c47c4f98cb03c4b15164ca83113244b40 > Author: Alan Mackenzie > Date: Thu Nov 24 10:51:03 2022 +0000 > > CC Mode: Make it scroll fast over buffers with only #define's > > , committed just a few hours after you reported the bug. > > I have a test script which scrolls all the way through a file, timing > how long it takes. Before the above commit, it took ~1524 seconds on > dce_12-0_sh_mask.h, after the commit, it took ~31.4 seconds. > > Would you please update your Emacs version, and see if this commit has > indeed resolved the problem, then let us know. This commit fixes the issue. It doesn't look like fast-but-imprecise-scrolling is needed anymore at all. Thanks ! Sujith From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 28 14:47:03 2022 Received: (at 59530-done) by debbugs.gnu.org; 28 Nov 2022 19:47:03 +0000 Received: from localhost ([127.0.0.1]:50524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozk5n-0001eh-8j for submit@debbugs.gnu.org; Mon, 28 Nov 2022 14:47:03 -0500 Received: from mx3.muc.de ([193.149.48.5]:65487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozk5l-0001eI-4z for 59530-done@debbugs.gnu.org; Mon, 28 Nov 2022 14:47:02 -0500 Received: (qmail 67945 invoked by uid 3782); 28 Nov 2022 20:46:54 +0100 Received: from acm.muc.de (p4fe15a2f.dip0.t-ipconnect.de [79.225.90.47]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 28 Nov 2022 20:46:54 +0100 Received: (qmail 7374 invoked by uid 1000); 28 Nov 2022 19:46:54 -0000 Date: Mon, 28 Nov 2022 19:46:54 +0000 To: Sujith Manoharan Subject: Re: bug#59530: 29.0.50; Fontification hangs with C header file Message-ID: References: <87wn7lm1o4.fsf@gmail.com> <87pmd8eqco.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87pmd8eqco.fsf@gmail.com> 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: 59530-done Cc: Eli Zaretskii , 59530-done@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: -1.0 (-) Hello, Sujith. On Sun, Nov 27, 2022 at 14:15:26 +0530, Sujith Manoharan wrote: > Alan Mackenzie writes: > > I think the bug has already been fixed, coincidentally on Thursday, by > > the following commit to master: > > commit 3208a42c47c4f98cb03c4b15164ca83113244b40 > > Author: Alan Mackenzie > > Date: Thu Nov 24 10:51:03 2022 +0000 > > CC Mode: Make it scroll fast over buffers with only #define's > > , committed just a few hours after you reported the bug. > > I have a test script which scrolls all the way through a file, timing > > how long it takes. Before the above commit, it took ~1524 seconds on > > dce_12-0_sh_mask.h, after the commit, it took ~31.4 seconds. > > Would you please update your Emacs version, and see if this commit has > > indeed resolved the problem, then let us know. > This commit fixes the issue. It doesn't look like > fast-but-imprecise-scrolling is needed anymore at all. > Thanks ! Thank you for the testing, and I'm glad it works. I'm closing the bug with this post. > Sujith -- Alan Mackenzie (Nuremberg, Germany). From unknown Thu Aug 14 22:17:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Dec 2022 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