From unknown Thu Sep 11 09:14:59 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#36183 <36183@debbugs.gnu.org> To: bug#36183 <36183@debbugs.gnu.org> Subject: Status: 26.1; prettify-symbols-mode high CPU usage in Windows 10 Reply-To: bug#36183 <36183@debbugs.gnu.org> Date: Thu, 11 Sep 2025 16:14:59 +0000 retitle 36183 26.1; prettify-symbols-mode high CPU usage in Windows 10 reassign 36183 emacs submitter 36183 Eduardo Duenez severity 36183 minor tag 36183 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 15:16:22 2019 Received: (at submit) by debbugs.gnu.org; 12 Jun 2019 19:16:22 +0000 Received: from localhost ([127.0.0.1]:34074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb8jN-0004qu-Md for submit@debbugs.gnu.org; Wed, 12 Jun 2019 15:16:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:45726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb7QU-0000M7-7N for submit@debbugs.gnu.org; Wed, 12 Jun 2019 13:52:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44476) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb7QP-0007qk-UW for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 13:52:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hb7QN-0002fp-IH for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 13:52:41 -0400 Received: from mail-oln040092010102.outbound.protection.outlook.com ([40.92.10.102]:43423 helo=NAM04-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hb7QE-0002Xu-Q5 for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 13:52:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KWj/g6oiOC8+sd0Hch4xSrnGfhb8Uli0LC16xUNEyDE=; b=EYVEO/SH2unAnxmeb8+3lxVSaB7fq1XM7jP1Sasq3MkSvHZMOtlVMuwe0vZRndLc/yaxBTiQU+TXb0mTVRCQpADy+xxMwSkjsh/V/xJM4CD8VLV5lh8JAwmCV2IGCkQ5cl2QdLX708V9aLwv5aHIZK5CbDgcvXnFZFyCnKU0ySBKf1o8QeM2LAnaME8NcSzjrHB9lr3yWBl56lc0IpNuYJFjhlqLHH5GhC6L+OcJ2auhY25V0ls3Px+9kbY2XSPfhrVET/2dKmubmeExHyummjJy6SlCbDkyXaJVdBU46zxo6rsHBJkrwOcvSZbDIboDZSGnG/fzf5k1br6NXqeHig== Received: from CO1NAM04FT021.eop-NAM04.prod.protection.outlook.com (10.152.90.54) by CO1NAM04HT048.eop-NAM04.prod.protection.outlook.com (10.152.91.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1943.19; Wed, 12 Jun 2019 17:52:23 +0000 Received: from DM6PR16MB2778.namprd16.prod.outlook.com (10.152.90.58) by CO1NAM04FT021.mail.protection.outlook.com (10.152.90.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1987.11 via Frontend Transport; Wed, 12 Jun 2019 17:52:23 +0000 Received: from DM6PR16MB2778.namprd16.prod.outlook.com ([fe80::6451:1263:df2b:76e6]) by DM6PR16MB2778.namprd16.prod.outlook.com ([fe80::6451:1263:df2b:76e6%7]) with mapi id 15.20.1965.017; Wed, 12 Jun 2019 17:52:23 +0000 From: Eduardo Duenez To: "bug-gnu-emacs@gnu.org" Subject: 26.1; prettify-symbols-mode high CPU usage in Windows 10 Thread-Topic: 26.1; prettify-symbols-mode high CPU usage in Windows 10 Thread-Index: AQHVIUc+41t1LSMLx02QAOsJB9Q+hQ== Date: Wed, 12 Jun 2019 17:52:23 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:4CC92B1153101C6BBB042EA4F9E3D772FBC64AF5CA23A1F0C2F7569260CBF5FD; UpperCasedChecksum:2D79101B8F52D7FBF00B075DE62C956C638617A0DCFBC1293A8B6384156D742D; SizeAsReceived:6544; Count:40 x-tmn: [ZdNE4BtQUwHC51Gn9Ci/e29v+HeN5CJ6] x-ms-publictraffictype: Email x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:CO1NAM04HT048; x-ms-traffictypediagnostic: CO1NAM04HT048: x-microsoft-antispam-message-info: fGhLEoSkh7Ymtx33Vx9P0GNZySDK/HDsjyZoy1O2iGYEyZgvJh+8P6Si+K2jJddYVDE4b/oNyIrIKMJHFBPhcgbX87GVIN/OZflV0kaPxjZhSbgCgiQNL3+yxEreJqggIqsT11ysDvq7/6t3xNDE54Wm3Bv+NaXve7V1EOYTz5xXFsa+IxGEz0zv5MK+58Re Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 27ab57ac-8e18-4344-a04a-08d6ef5eb91e X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2019 17:52:23.0740 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT048 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.92.10.102 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 12 Jun 2019 15:16:20 -0400 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 (--) "M-x prettify-symbols-mode" on a .tex buffer (AUCTeX major mode)=0A= correctly prettifies symbols (Greek letters, math symbols, etc.)=0A= However, any subsequent editing of the buffer becomes de facto=0A= impossible because starting to type, moving, etc., results on 100%=0A= usage of the CPU core emacs is running on for 1-3 seconds. If I=0A= switch to another buffer or disable prettify-symbols-mode, CPU usage=0A= eventually drops down to a typical 2%-4% during regular editing.=0A= =0A= =0A= In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)=0A= of 2018-05-30 built on CIRROCUMULUS=0A= Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea=0A= Windowing system distributor 'Microsoft Corp.', version 10.0.17763=0A= Recent messages:=0A= Mark saved where search started=0A= ad-Advice-delete-char: Buffer is read-only: # [3 times]=0A= Mark saved where search started [2 times]=0A= Prettify-Symbols mode enabled in current buffer=0A= Creating customization items...=0A= Creating customization items ...done=0A= Resetting customization items...done=0A= Creating customization setup...done=0A= To install your edits, invoke [State] and choose the Set operation=0A= Prettify-Symbols mode disabled in current buffer=0A= =0A= Configured using:=0A= 'configure --without-dbus --host=3Dx86_64-w64-mingw32=0A= --without-compress-install 'CFLAGS=3D-O2 -static -g3''=0A= =0A= Configured features:=0A= XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB=0A= TOOLKIT_SCROLL_BARS THREADS LCMS2=0A= =0A= Important settings:=0A= value of $LANG: ENU=0A= locale-coding-system: cp1252=0A= =0A= Major mode: LaTeX/FMP=0A= =0A= Minor modes in effect:=0A= text-scale-mode: t=0A= TeX-fold-mode: t=0A= reftex-mode: t=0A= flyspell-mode: t=0A= LaTeX-math-mode: t=0A= TeX-PDF-mode: t=0A= global-magit-file-mode: t=0A= diff-auto-refine-mode: t=0A= magit-auto-revert-mode: t=0A= auto-revert-mode: t=0A= global-git-commit-mode: t=0A= pyvenv-mode: t=0A= desktop-save-mode: t=0A= shell-dirtrack-mode: t=0A= outline-minor-mode: t=0A= helm-mode: t=0A= async-bytecomp-package-mode: t=0A= show-paren-mode: t=0A= savehist-mode: t=0A= cl-old-struct-compat-mode: t=0A= tooltip-mode: t=0A= global-eldoc-mode: t=0A= electric-indent-mode: t=0A= mouse-wheel-mode: t=0A= menu-bar-mode: t=0A= file-name-shadow-mode: t=0A= global-font-lock-mode: t=0A= font-lock-mode: t=0A= blink-cursor-mode: t=0A= auto-composition-mode: t=0A= auto-encryption-mode: t=0A= auto-compression-mode: t=0A= size-indication-mode: t=0A= column-number-mode: t=0A= line-number-mode: t=0A= global-visual-line-mode: t=0A= visual-line-mode: t=0A= transient-mark-mode: t=0A= =0A= Load-path shadows:=0A= ~/synchro/emacs.d/site-lisp/smerge-mode hides c:/Program Files/emacs/share/= emacs/26.1/lisp/vc/smerge-mode=0A= ~/synchro/emacs.d/site-lisp/ps-mode hides c:/Program Files/emacs/share/emac= s/26.1/lisp/progmodes/ps-mode=0A= m:/Eduardo/.emacs.d/elpa/auctex-12.1.1/auctex hides m:/Eduardo/synchro/emac= s.d/site-lisp/site-start.d/auctex=0A= =0A= Features:=0A= (shadow sort mail-extr emacsbug sendmail outshine-org-cmds outorg=0A= tar-mode autoload lisp-mnt mm-archive network-stream starttls url-cache=0A= helm-command helm-elisp helm-eval edebug helm-info misearch=0A= multi-isearch face-remap reftex-sel cursor-sensor reftex-ref=0A= reftex-parse reftex-toc bug-reference tex-fold preview prv-emacs tex-buf=0A= reftex-dcr reftex reftex-loaddefs reftex-vars cdlatex texmathp flyspell=0A= ispell font-latex latex latex-flymake tex-ispell tex-style tex tex-mode=0A= latexenc image-file helm-external helm-net xml ffap magit-obsolete=0A= magit-blame magit-stash magit-bisect magit-remote magit-commit=0A= magit-sequence magit-notes magit-worktree magit-tag magit-merge=0A= magit-branch magit-reset magit-collab ghub url-http tls gnutls url-gw=0A= nsm url-auth url url-proxy url-privacy url-expand url-methods=0A= url-history url-cookie url-domsuf url-util mailcap let-alist magit-files=0A= magit-refs magit-status subr-x magit magit-repos magit-apply magit-wip=0A= magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert=0A= autorevert filenotify magit-process magit-margin magit-mode git-commit=0A= magit-git magit-section magit-utils crm magit-popup log-edit message rmc=0A= puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs=0A= mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util=0A= ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader=0A= pcvs-util add-log with-editor winner paredit pp cl-extra yasnippet=0A= highlight-indentation flymake-proc flymake warnings company pcase=0A= help-fns radix-tree help-mode elpy pyvenv elpy-profile elpy-django s=0A= elpy-refactor python tramp-sh json map grep files-x etags xref project=0A= server desktop frameset gnuplot-mode ido ess-toolbar ess-mouse ess-dde=0A= mouseme thingatpt browse-url ess-swv ess-noweb ess-noweb-font-lock-mode=0A= ess-bugs-l ess-sas-d ess-sas-l ess-sas-a ess-stata-mode ess-stata-lang=0A= cc-vars cc-defs make-regexp essd-els ess-sp6w-d ess-sp3-d ess-julia=0A= julia-mode ess-r-mode ess-r-package ess-r-syntax ess-r-completion=0A= ess-roxy essddr ess-rd hideshow ess-s-lang ess-help ess ess-mode=0A= ess-noweb-mode ess-inf ess-tracebug compile tramp tramp-compat=0A= tramp-loaddefs trampver ucs-normalize shell parse-time ess-generics=0A= ess-custom executable ess-compat ess-utils ess-site dired-x dired=0A= dired-loaddefs re-builder org-element avl-tree generator org org-macro=0A= org-footnote org-pcomplete pcomplete org-list org-faces org-entities=0A= noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref=0A= ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core=0A= ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar=0A= cal-loaddefs preview-latex helm-mode helm-files helm-buffers helm-tags=0A= helm-locate helm-grep helm-regexp format-spec helm-utils helm-help=0A= helm-types helm easy-mmode helm-source eieio-compat helm-multi-match=0A= helm-lib helm-config helm-easymenu edmacro kmacro async-bytecomp async=0A= advice misc paren savehist avoid solarized-dark-theme solarized dash=0A= cus-edit cus-start cus-load elec-pair color-theme wid-edit cl=0A= color-theme-wombat finder-inf tex-site racket-mode-autoloads rx info=0A= package easymenu epg-config url-handlers url-parse auth-source cl-seq=0A= eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq=0A= byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date=0A= mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks=0A= lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win=0A= w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe=0A= tabulated-list replace newcomment text-mode elisp-mode lisp-mode=0A= prog-mode register page menu-bar rfn-eshadow isearch timer select=0A= scroll-bar mouse jit-lock font-lock syntax facemenu font-core=0A= term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang=0A= vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932=0A= hebrew greek romanian slovak czech european ethiopic indian cyrillic=0A= chinese composite charscript charprop case-table epa-hook jka-cmpr-hook=0A= help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs=0A= button faces cus-face macroexp files text-properties overlay sha1 md5=0A= base64 format env code-pages mule custom widget hashtable-print-readable=0A= backquote w32notify w32 lcms2 multi-tty make-network-process emacs)=0A= =0A= Memory information:=0A= ((conses 16 1292732 154223)=0A= (symbols 56 55950 1)=0A= (miscs 48 2298 2007)=0A= (strings 32 213434 24925)=0A= (string-bytes 1 5953503)=0A= (vectors 16 90622)=0A= (vector-slots 8 2146240 148464)=0A= (floats 8 552 918)=0A= (intervals 56 89660 433)=0A= (buffers 992 53))=0A= From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 15 04:35:07 2019 Received: (at 36183) by debbugs.gnu.org; 15 Jun 2019 08:35:07 +0000 Received: from localhost ([127.0.0.1]:38307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hc49R-0004Me-Ki for submit@debbugs.gnu.org; Sat, 15 Jun 2019 04:35:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hc49Q-0004M5-8T for 36183@debbugs.gnu.org; Sat, 15 Jun 2019 04:35:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hc49I-0003WG-RG; Sat, 15 Jun 2019 04:34:58 -0400 Received: from [176.228.60.248] (port=4440 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hc49F-0000Sb-3I; Sat, 15 Jun 2019 04:34:53 -0400 Date: Sat, 15 Jun 2019 11:34:59 +0300 Message-Id: <83h88rw8jw.fsf@gnu.org> From: Eli Zaretskii To: Eduardo Duenez , Tassilo Horn In-reply-to: (message from Eduardo Duenez on Wed, 12 Jun 2019 17:52:23 +0000) Subject: Re: bug#36183: 26.1; prettify-symbols-mode high CPU usage in Windows 10 References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36183 Cc: 36183@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: Eduardo Duenez > Date: Wed, 12 Jun 2019 17:52:23 +0000 > > "M-x prettify-symbols-mode" on a .tex buffer (AUCTeX major mode) > correctly prettifies symbols (Greek letters, math symbols, etc.) > However, any subsequent editing of the buffer becomes de facto > impossible because starting to type, moving, etc., results on 100% > usage of the CPU core emacs is running on for 1-3 seconds. If I > switch to another buffer or disable prettify-symbols-mode, CPU usage > eventually drops down to a typical 2%-4% during regular editing. Can you please send a sample file where you see this behavior? Also, do you need to use AUCTeX for this to happen, or does it happen even without AUCTeX, by just visiting a .tex file and activating the prettify-symbols-mode? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 13:11:37 2019 Received: (at 36183) by debbugs.gnu.org; 19 Jun 2019 17:11:37 +0000 Received: from localhost ([127.0.0.1]:47372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hde7U-0002gM-T5 for submit@debbugs.gnu.org; Wed, 19 Jun 2019 13:11:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hde7T-0002g6-8F for 36183@debbugs.gnu.org; Wed, 19 Jun 2019 13:11:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hde7I-00057B-Ii; Wed, 19 Jun 2019 13:11:24 -0400 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:38643) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hde7H-0006Xd-AO; Wed, 19 Jun 2019 13:11:23 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id E4D6320D0F; Wed, 19 Jun 2019 13:11:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 19 Jun 2019 13:11:22 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtddvgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucfkphepudefgedrudduledrvd egrdduleehnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgr uhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleekqdhtshguhh eppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhmnecuvehluhhsthgvrhfuihiivgep td X-ME-Proxy: Received: from jiffyarch (j289989.servers.jiffybox.net [134.119.24.195]) by mail.messagingengine.com (Postfix) with ESMTPA id E88698005B; Wed, 19 Jun 2019 13:11:21 -0400 (EDT) From: Tassilo Horn To: Eli Zaretskii Subject: Re: bug#36183: 26.1; prettify-symbols-mode high CPU usage in Windows 10 References: <83h88rw8jw.fsf@gnu.org> Date: Wed, 19 Jun 2019 19:11:20 +0200 In-Reply-To: <83h88rw8jw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Jun 2019 11:34:59 +0300") Message-ID: <871rzplcuf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36183 Cc: 36183@debbugs.gnu.org, Eduardo Duenez 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 (---) Eli Zaretskii writes: >> From: Eduardo Duenez >> Date: Wed, 12 Jun 2019 17:52:23 +0000 >> >> "M-x prettify-symbols-mode" on a .tex buffer (AUCTeX major mode) >> correctly prettifies symbols (Greek letters, math symbols, etc.) >> However, any subsequent editing of the buffer becomes de facto >> impossible because starting to type, moving, etc., results on 100% >> usage of the CPU core emacs is running on for 1-3 seconds. If I >> switch to another buffer or disable prettify-symbols-mode, CPU usage >> eventually drops down to a typical 2%-4% during regular editing. > > Can you please send a sample file where you see this behavior? > > Also, do you need to use AUCTeX for this to happen, or does it happen > even without AUCTeX, by just visiting a .tex file and activating the > prettify-symbols-mode? FWIW, I cannot reproduce that behavior with some arbitrary LaTeX file with auctex 12.1.2 from ELPA or with the stock latex-mode. So either it's something specific with your LaTeX file or your configuration. In addition to what Eli said, it would also be interesting to profile what emacs does during editing and moving point. For that, you could do this: 1. M-x profiler-start RET cpu RET in the problematic LaTeX file. 2. Activate prettify-symbols-mode. 3. Edit and move point so that emacs heats your CPU. 4. M-x profiler-report RET and then M-x profiler-stop RET. Send us the contents of the *CPU-Profiler-Report ...* buffer. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 13:32:39 2019 Received: (at control) by debbugs.gnu.org; 19 Jun 2019 17:32:39 +0000 Received: from localhost ([127.0.0.1]:47385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdeRq-0003Dl-OS for submit@debbugs.gnu.org; Wed, 19 Jun 2019 13:32:38 -0400 Received: from mail-io1-f42.google.com ([209.85.166.42]:35276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdeRo-0003DX-R1 for control@debbugs.gnu.org; Wed, 19 Jun 2019 13:32:37 -0400 Received: by mail-io1-f42.google.com with SMTP id m24so255663ioo.2 for ; Wed, 19 Jun 2019 10:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=tCFPhhyItTASLipVmRGZHq7GOKEFDOVu5w6+GilREO4=; b=sD+zDP2GUncoeCt+v3JSwOlUstFePgiyV6W6yeBSYj/va56dHhIQPVSFjkJSi9pxSd CEsEELRQzK6f8zJfBdPMayc+HurricTAPBWrLb4Ij/mlUoSsvaS+4xx31p+Bxq1aK8q+ U+98kpG2nPHfAAOYZEW9V+xG9GLzFwOWPdvEyWoNSYNgYvwwYvHdEpm+k1jrCNAlif45 3cAi2D3Mrjke8At5lqimBJYzAJnaoJWI4MnuvwpHx7VgdnRxmalJmFUbQoySxa/PQwOQ bBcLD2QNE4AIAM3gCzO5TBDTUEexkgd47VoXjhcg1jp3V4HxKyiVpg+Ai9QzlBw/l0ny f3ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=tCFPhhyItTASLipVmRGZHq7GOKEFDOVu5w6+GilREO4=; b=uCGfGmIie5EfLvdAZ7y5EuhpWfk5983lpuRiOdQHxV13fcFlZkkysu3fcJS4InlYbo KoQpJyGBDIs/HoRaeUvuMS0nGmLxj1jqcQfHIt4Tpl1HGgRcBXqiz/GQdULfmjKnuFkm BRAYwXn+xP7kJtGw4TqWZpZf3eR9pZ3t4tUGVvy3En02dvNMib7pDndj4A83SyRCXUN8 NtWTj5PXHyJmtiijm2DaFRXykgLI4DGW0JeZLEF2wykkMssjqCgKG2EinbLg48WEWUsK 8LtaLTR8tPHRO58johSDhoT59m6dfi0arMuT/RFWjsGI7wUS4nqjekvvz5GitJCR58RD /Kdw== X-Gm-Message-State: APjAAAXnE3+BrUyK3qm+tZuUHIA2Sy7Zn/ffu79UO0mgk/dqs1/6k5Xb rpjUJIXQH+96ptKhEn3VLu8If0OD X-Google-Smtp-Source: APXvYqwfoida2aDELxqBfmHwatcowsSC9d+c80yX5V8svO6kuWquEVkYnqMPYg3aP2oTIH2vh1vBFg== X-Received: by 2002:a02:9567:: with SMTP id y94mr13684986jah.28.1560965551056; Wed, 19 Jun 2019 10:32:31 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id m25sm13354296ion.35.2019.06.19.10.32.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jun 2019 10:32:30 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #36183 Date: Wed, 19 Jun 2019 13:32:30 -0400 Message-ID: <8536k58or5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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 (-) tags 36183 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 25 10:41:10 2019 Received: (at 36183) by debbugs.gnu.org; 25 Sep 2019 14:41:10 +0000 Received: from localhost ([127.0.0.1]:42275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD8Te-0005t3-FT for submit@debbugs.gnu.org; Wed, 25 Sep 2019 10:41:10 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD8Td-0005st-0N for 36183@debbugs.gnu.org; Wed, 25 Sep 2019 10:41:09 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iD8TZ-0004Gb-M3; Wed, 25 Sep 2019 16:41:08 +0200 From: Lars Ingebrigtsen To: Tassilo Horn Subject: Re: bug#36183: 26.1; prettify-symbols-mode high CPU usage in Windows 10 References: <83h88rw8jw.fsf@gnu.org> <871rzplcuf.fsf@gnu.org> Date: Wed, 25 Sep 2019 16:41:05 +0200 In-Reply-To: <871rzplcuf.fsf@gnu.org> (Tassilo Horn's message of "Wed, 19 Jun 2019 19:11:20 +0200") Message-ID: <87h850tp4u.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Tassilo Horn writes: > In addition to what Eli said, it would also be interesting to profile > what emacs does during editing and moving point. For that, you could do > this: > > 1. M-x profiler-start RET cpu RET in the p [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 36183 Cc: 36183@debbugs.gnu.org, Eli Zaretskii , Eduardo Duenez 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 (-) Tassilo Horn writes: > In addition to what Eli said, it would also be interesting to profile > what emacs does during editing and moving point. For that, you could do > this: > > 1. M-x profiler-start RET cpu RET in the problematic LaTeX file. > 2. Activate prettify-symbols-mode. > 3. Edit and move point so that emacs heats your CPU. > 4. M-x profiler-report RET and then M-x profiler-stop RET. > > Send us the contents of the *CPU-Profiler-Report ...* buffer. More information was requested, but no response was given within a few months, so I'm closing this bug report. If the problem still exists, please reopen this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 25 10:41:16 2019 Received: (at control) by debbugs.gnu.org; 25 Sep 2019 14:41:16 +0000 Received: from localhost ([127.0.0.1]:42278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD8Tj-0005tM-OO for submit@debbugs.gnu.org; Wed, 25 Sep 2019 10:41:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD8Th-0005tE-QE for control@debbugs.gnu.org; Wed, 25 Sep 2019 10:41:14 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iD8Tf-0004JE-5Q for control@debbugs.gnu.org; Wed, 25 Sep 2019 16:41:13 +0200 Date: Wed, 25 Sep 2019 16:41:10 +0200 Message-Id: <87ftkktp4p.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36183 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: close 36183 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: 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 (-) close 36183 quit From unknown Thu Sep 11 09:14:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 24 Oct 2019 11:24:09 +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