From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sujith Manoharan Newsgroups: gmane.emacs.bugs Subject: bug#59530: 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10670"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.3; emacs 29.0.50 To: 59530@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 24 05:09:12 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 1oy3Xz-0002Zp-KA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 05:09:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy3Xt-0007Gj-Kg; Wed, 23 Nov 2022 23:09:05 -0500 Original-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 1oy3Xr-0007GL-AA for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 23:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy3Xq-0004q2-WB for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 23:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oy3Xq-0006dE-Gv for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 23:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sujith Manoharan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2022 04:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59530 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166926291525456 (code B ref -1); Thu, 24 Nov 2022 04:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Nov 2022 04:08:35 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248810 Archived-At: 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))