From unknown Fri Aug 15 16:22:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40930: AUCTeX fontification messed up Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 28 Apr 2020 13:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40930 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 40930@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.158807883932274 (code B ref -1); Tue, 28 Apr 2020 13:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2020 13:00:39 +0000 Received: from localhost ([127.0.0.1]:39265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTPql-0008OR-JX for submit@debbugs.gnu.org; Tue, 28 Apr 2020 09:00:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:39832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTPqj-0008OH-45 for submit@debbugs.gnu.org; Tue, 28 Apr 2020 09:00:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58944) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTPpK-0005I5-5T for bug-auctex@gnu.org; Tue, 28 Apr 2020 09:00:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTPnj-000156-Fm for bug-auctex@gnu.org; Tue, 28 Apr 2020 08:59:05 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:45081) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTPnj-00014t-11 for bug-auctex@gnu.org; Tue, 28 Apr 2020 08:57:27 -0400 Received: by mail-qt1-x829.google.com with SMTP id 71so17084517qtc.12 for ; Tue, 28 Apr 2020 05:57:26 -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 :content-transfer-encoding:content-language:thread-index; bh=fXEMscDDVZPF11PA++IXY6SrGqjlynagNfBlOYfX+R0=; b=HrZDMk4un9NPIuzSrKkc1FCL6tyJV3S1QGAuH+4C9SbxOIHdHmzWOVnk6kGdxxmFX3 78QkwLuCOv7Au7QgF8lGyrkzLERfLFP9/O1FSPvzS4vJzZJPHFLEiyVw5SkoSgoQnK80 nUJ6jTGztPAQ50ank6R52ENkkQSuyXHxK/al/8DCIBQaNraMDo5ZclUIllYGi7EgiLFa aU+sJDw4KWf6KF68msNWYCzrzIdxy82l5cB0NTVjl+fZ6gSIvKphN57YarxzucgzeRVc +9szQvAmvuaso7G4ZcCm+x6JsVzynkQSJeSQf1FgGcPB6dbheANaHjCnbr1/mffXdKgX Vy3Q== 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 :content-transfer-encoding:content-language:thread-index; bh=fXEMscDDVZPF11PA++IXY6SrGqjlynagNfBlOYfX+R0=; b=HTSa/XrbLQ0mSHYsOcF4kxiy/V+peIZs2kCMOiBu0BJ9ft1zwJ8jUHWF0zHhGXDdjG +DY/DGcoIOGiyKYkSsiAdxhJIfN+5bpu7gPTEIxQi2HLmg790fsbtx8Wq5stohHvpj8B bvTk35yfO1xx/yJPWIzI/OBuQNoUU13T8oGu37TcTpH1jJlhv4IkhrxnrqO3w90FRFiz a2RUdm6XQ2zvfx9mEYthZacyA+3C+n/hOEVzd1bt4AJSJca0WxXReGMl1GU9ZsxxgXRa cs6LWhOh6GqOcpIjAKjaj/yhgJZiNsVhd4JT6gje0SDD8hfTW6N1yFBgyJqpss4pkzxs t1og== X-Gm-Message-State: AGi0PuYyfA5sAYCDTW6LEiirieoQKboK++05LyheZxU/NxQ95tlw+mTg 1EuoOIyztVPcSw9nEe4kTSR0l70C2g8= X-Google-Smtp-Source: APiQypKISkvl0JyL+2+q/f2kyjyIgz9Nx0qiGJCXW1RVzIwwGbrMWPCIv9qUepsMSVCfYAPkRsmWOg== X-Received: by 2002:ac8:70c9:: with SMTP id g9mr28547144qtp.375.1588078644814; Tue, 28 Apr 2020 05:57:24 -0700 (PDT) Received: from Holder (cpe-67-249-80-215.twcny.res.rr.com. [67.249.80.215]) by smtp.gmail.com with ESMTPSA id h19sm13696438qtk.78.2020.04.28.05.57.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2020 05:57:24 -0700 (PDT) From: Date: Tue, 28 Apr 2020 08:57:22 -0400 Message-ID: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AdYdW70cn0wjsKyeTqGpMOlvnqlc8Q== Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=gennady.uraltsev@gmail.com; helo=mail-qt1-x829.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::829 X-Spam-Score: -1.3 (-) 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 (--) Dear Everyone, I have posted a reddit thread about a bug wth AUCTeX fontification that exists since 6 years or so. I myself reported it here in 2019-06 but it was ignored. The bug is occurs frequently but is very hard to reproduce reliably: this is why I can't include a minimal example. The reddit thread is here: https://www.reddit.com/r/emacs/comments/g95vyl/font_lock_in_auctex_messed_up / and I copy the contents below for completeness. There is some discussion in the comments there. It would be great to have some instructions on how to approach the problem. ***** Hello everyone. I use AUCTeX to write papers in LaTeX. It is a great environment if configured correctly. I use it with preview-latex and prettify-symbols-mode. I want to use TeX-fold-mode but I have not set it up yet. However there is a recurring problem that is very difficult to catch and to diagnose. I have reported it on the bug-auctex mailing list and google searches give many other people complaining about the issue: https://lists.gnu.org/archive/html/bug-auctex/2019-06/msg00005.html https://emacs.stackexchange.com/questions/20518/how-to-investigate-color-ble eding https://github.com/syl20bnr/spacemacs/issues/9976 http://pragmaticemacs.com/emacs/refresh-auctex-syntax-highlighting/ https://github.com/syl20bnr/spacemacs/issues/5433 It seems to be a very difficult issue to reproduce consistently, even though it appears often in any large enough tex file. Here is what I know: It appears in: vanilla emacs, spacemacs, doom emacs. It appears in: windows, linux (I am currently on windows) It appears with (setq TeX-install-font-lock 'tex-font-setup) and (setq TeX-install-font-lock 'font-latex-setup) It *does not* depend on this issue https://www.gnu.org/software/auctex/manual/auctex/Known-problems.html#Known- problems (no verbatim or dollar signs) The problem can reappear and disappear even by inserting a single letter (in a math environment or outside one) The problem can sometimes reappear and disappear by merely scrolling the buffer The problem seems to get worse with larger files The problem seems to get worse with other functionality that relies on overlays/text properties e.g. preview-latex or rainbow-delimiters but it presents itself even without these packages. Another approach is to disable jit. It seems to help a lot but it doesn't solve the issue. Mistakes still occur. They are just fewer and thus tolerable. The problem disappears when doing M-x normal-mode but any action can make it reappear. Unfortunately, I am currently writing quite a large paper and this bug is making AUCTeX unusable. Every several letters I write trigger a change in fontification. The developers have ignored my bug report: I don't blame them. It is completely unclear how to reproduce it. I did ask for instructions on what to do but none were given. I am writing here to pool together all I have found about the issue so we could possibly help track this bug down. Any suggestions? EDIT:disabling jit helps a bit. **** Best, Gennady From unknown Fri Aug 15 16:22:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40930: AUCTeX fontification messed up Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 03 Jun 2020 07:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40930 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: gennady.uraltsev@gmail.com Cc: 40930@debbugs.gnu.org Received: via spool by 40930-submit@debbugs.gnu.org id=B40930.159116988927728 (code B ref 40930); Wed, 03 Jun 2020 07:39:02 +0000 Received: (at 40930) by debbugs.gnu.org; 3 Jun 2020 07:38:09 +0000 Received: from localhost ([127.0.0.1]:41814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgNyT-0007DA-DK for submit@debbugs.gnu.org; Wed, 03 Jun 2020 03:38:09 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:55704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgNyQ-0007Cy-SN for 40930@debbugs.gnu.org; Wed, 03 Jun 2020 03:38:08 -0400 Received: from localhost (42-146-134-146.rev.home.ne.jp [42.146.134.146]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 65A946C; Wed, 3 Jun 2020 16:38:05 +0900 (JST) From: Ikumi Keita In-reply-to: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> References: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> Comments: In-reply-to message dated "Tue, 28 Apr 2020 08:57:22 -0400." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25024.1591169885.1@localhost> Date: Wed, 03 Jun 2020 16:38:05 +0900 Message-ID: <25026.1591169885@localhost> X-Spam-Score: 0.0 (/) 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 (-) Hi Gennady, >>>>> writes: > Dear Everyone, > I have posted a reddit thread about a bug wth AUCTeX fontification that > exists since 6 years or so. I myself reported it here in 2019-06 but it was > ignored. The bug is occurs frequently but is very hard to reproduce > reliably: this is why I can't include a minimal example. > The reddit thread is here: > https://www.reddit.com/r/emacs/comments/g95vyl/font_lock_in_auctex_messed_up > / > and I copy the contents below for completeness. There is some discussion in > the comments there. > It would be great to have some instructions on how to approach the problem. We are sorry for not having been able to help for long time. Recently we began to think that this bug is the same as bug#33139, though it is not yet confirmed: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33139 We finally managed to fix that bug, so we hope that this bug is fixed as well. Could you try the latest development version in the git repository or the ELPA release which is to appear soon? Regards, Ikumi Keita From unknown Fri Aug 15 16:22:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40930: AUCTeX fontification messed up Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 05 Jun 2020 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40930 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: gennady.uraltsev@gmail.com, 40930@debbugs.gnu.org Received: via spool by 40930-submit@debbugs.gnu.org id=B40930.159137859313819 (code B ref 40930); Fri, 05 Jun 2020 17:37:01 +0000 Received: (at 40930) by debbugs.gnu.org; 5 Jun 2020 17:36:33 +0000 Received: from localhost ([127.0.0.1]:49791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhGGf-0003ao-4b for submit@debbugs.gnu.org; Fri, 05 Jun 2020 13:36:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhGGd-0003aa-Ls for 40930@debbugs.gnu.org; Fri, 05 Jun 2020 13:36:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43062) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhGGY-0003bW-D3; Fri, 05 Jun 2020 13:36:26 -0400 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:56153) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jhGGX-0007oO-UO; Fri, 05 Jun 2020 13:36:26 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 69B8027C0058; Fri, 5 Jun 2020 13:36:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 05 Jun 2020 13:36:25 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudegfedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnheptdelieffkeeuffduueeffefhiedtjeeutdeuve egfffgtdejleekheegkeetkeevnecukfhppeelfedrvdefiedrudeffedruddunecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from thinkpad-t440p (p5dec850b.dip0.t-ipconnect.de [93.236.133.11]) by mail.messagingengine.com (Postfix) with ESMTPA id C037E328005E; Fri, 5 Jun 2020 13:36:24 -0400 (EDT) From: Tassilo Horn References: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> <25026.1591169885@localhost> Date: Fri, 05 Jun 2020 19:36:23 +0200 In-Reply-To: <25026.1591169885@localhost> (Ikumi Keita's message of "Wed, 03 Jun 2020 16:38:05 +0900") Message-ID: <87d06d9zzc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Ikumi Keita writes: > We finally managed to fix that bug, so we hope that this bug is fixed > as well. Could you try the latest development version in the git > repository or the ELPA release which is to appear soon? The ELPA release which hopefully fixes the issue is 12.2.3. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 05:28:31 2020 Received: (at control) by debbugs.gnu.org; 6 Jun 2020 09:28:31 +0000 Received: from localhost ([127.0.0.1]:50740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhV7v-00081B-6S for submit@debbugs.gnu.org; Sat, 06 Jun 2020 05:28:31 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:36664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhV7t-000812-Gv for control@debbugs.gnu.org; Sat, 06 Jun 2020 05:28:30 -0400 Received: from localhost (42-146-134-146.rev.home.ne.jp [42.146.134.146]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 257622E for ; Sat, 6 Jun 2020 18:28:27 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #36075 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <42749.1591435701.1@localhost> Date: Sat, 06 Jun 2020 18:28:22 +0900 Message-ID: <42750.1591435702@localhost> 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 36075 40930 quit From unknown Fri Aug 15 16:22:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40930: AUCTeX fontification messed up Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Thu, 11 Jun 2020 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40930 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: "'Tassilo Horn'" , <40930@debbugs.gnu.org> Received: via spool by 40930-submit@debbugs.gnu.org id=B40930.159190404922432 (code B ref 40930); Thu, 11 Jun 2020 19:35:02 +0000 Received: (at 40930) by debbugs.gnu.org; 11 Jun 2020 19:34:09 +0000 Received: from localhost ([127.0.0.1]:38115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjSxk-0005pk-SQ for submit@debbugs.gnu.org; Thu, 11 Jun 2020 15:34:09 -0400 Received: from mail-qt1-f180.google.com ([209.85.160.180]:41884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjSxj-0005pL-8f for 40930@debbugs.gnu.org; Thu, 11 Jun 2020 15:34:07 -0400 Received: by mail-qt1-f180.google.com with SMTP id w90so5490219qtd.8 for <40930@debbugs.gnu.org>; Thu, 11 Jun 2020 12:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=5uOSH414gaoaJezzYuy01w3g22IxKQAdClPgnx0ieCA=; b=qIEklzBxj76ovJJgLYW5m/XRkjKk0njkpQoYcxU+ef6i1qzhw/8jes47dpOgSnV7p0 toJ82C97zNRtstyYuFpZDDrq7yYbVuemQR14Pb/85S3Kblrithy8w4TCojqeagbJt55H wiIj/B4qaTpHJ6bu/YVjWDUD61wQ86rsZl9imdyqO7Our7x5x9iPK6+F6y4t6GTtbNB4 4F340PNI13BX/26dn8bkLyx2DG9IdHmzi1bvJkHQMgGROW0PJMClzlfEM4tLEYxtFT9G lhOCkCGbvOfKqg8QtmaBpCxklnqGxaFGQ0NRGVUQEj/bl9SbY/qQyjK+VeK7DfoVhWRS QKMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=5uOSH414gaoaJezzYuy01w3g22IxKQAdClPgnx0ieCA=; b=WhPwRpGD0MWjZD36MQ8q/f5/Q2YmpzNrWh0Htv5fniSVi7jCaLhJM1JDEb+iUaIViK tpFLQNpNtgUIw/Na/mprK6qo2KEEdOLioNjlQk9qWtOYdrPRrjYBVraP8wtwTujEIccB cA/Y1gvZnPqpqZLx9Ydcz/MUYgPLGh036RJcu2+YV8AUzI/eiwwZYekOKYt5/tHeTVfT 7TZTdQsrC30ySZQDF8UPxJsthubQDtVHwSluBok/7MicwaC6B8TZZpZJGtooavj+lN0g 6nIHE/MSv9zJ/kogYqYh9aWt/vXQZRSKKoUNENqGqLrhWbAaAVPdELQUBsHPaWLuo2fi Ko/A== X-Gm-Message-State: AOAM531UmRKQsCTD8B9VtkHQ4DweuC8fvqY2j8jBIQNS7iBEBY9/Ctpr T+m2th/mh4bvzKNfspDB74QyJBn1sa0= X-Google-Smtp-Source: ABdhPJzCN5LzRG4ISzNqvgDuGM3pr8yX5ymyW3ExiQmNpRVJo+r2X1N34H2mj6Ovo4VRJPHkxvIs+Q== X-Received: by 2002:ac8:5245:: with SMTP id y5mr10339254qtn.368.1591904041164; Thu, 11 Jun 2020 12:34:01 -0700 (PDT) Received: from Holder (cpe-67-249-80-215.twcny.res.rr.com. [67.249.80.215]) by smtp.gmail.com with ESMTPSA id c58sm3312062qtd.27.2020.06.11.12.33.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jun 2020 12:34:00 -0700 (PDT) From: References: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> <25026.1591169885@localhost> <87d06d9zzc.fsf@gnu.org> In-Reply-To: <87d06d9zzc.fsf@gnu.org> Date: Thu, 11 Jun 2020 15:33:58 -0400 Message-ID: <001c01d64027$416be2e0$c443a8a0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQI8vp21+GfeFqtFK8S3P916o9S0nQJ6riiQATrD4lan6SVfcA== Content-Language: en-us X-Spam-Score: 0.0 (/) 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 everyone, I have been using the new version quite intensely since several days on a paper that used to get messed up. Everything seems to work very well. Thank you so much! Best, Gennady -----Original Message----- From: Tassilo Horn Sent: Friday, 5 June, 2020 13:36 To: gennady.uraltsev@gmail.com; 40930@debbugs.gnu.org Subject: Re: bug#40930: AUCTeX fontification messed up Ikumi Keita writes: > We finally managed to fix that bug, so we hope that this bug is fixed > as well. Could you try the latest development version in the git > repository or the ELPA release which is to appear soon? The ELPA release which hopefully fixes the issue is 12.2.3. Bye, Tassilo From unknown Fri Aug 15 16:22:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Subject: bug#40930: closed (Re: bug#40930: AUCTeX fontification messed up) Message-ID: References: <87eeqlmhm1.fsf@gnu.org> <002901d61d5c$8fb50410$af1f0c30$@gmail.com> X-Gnu-PR-Message: they-closed 40930 X-Gnu-PR-Package: auctex Reply-To: 40930@debbugs.gnu.org Date: Thu, 11 Jun 2020 21:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1591910042-31993-1" This is a multi-part message in MIME format... ------------=_1591910042-31993-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40930: AUCTeX fontification messed up which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40930@debbugs.gnu.org. --=20 40930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40930 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1591910042-31993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40930-done) by debbugs.gnu.org; 11 Jun 2020 21:13:08 +0000 Received: from localhost ([127.0.0.1]:38258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjUVY-0008Io-Kr for submit@debbugs.gnu.org; Thu, 11 Jun 2020 17:13:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjUVW-0008IL-CS for 40930-done@debbugs.gnu.org; Thu, 11 Jun 2020 17:13:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41340) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjUVQ-0003YP-Ct; Thu, 11 Jun 2020 17:13:00 -0400 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:36539) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jjUVP-0003dx-8e; Thu, 11 Jun 2020 17:12:59 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id CC08227C0054; Thu, 11 Jun 2020 17:12:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 11 Jun 2020 17:12:58 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehledgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnheptdelieffkeeuffduueeffefhiedtjeeutdeuve egfffgtdejleekheegkeetkeevnecukfhppeelfedrvdefiedrudefiedrfedunecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from thinkpad-t440p (p5dec881f.dip0.t-ipconnect.de [93.236.136.31]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C63B30614FA; Thu, 11 Jun 2020 17:12:57 -0400 (EDT) From: Tassilo Horn To: Subject: Re: bug#40930: AUCTeX fontification messed up References: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> <25026.1591169885@localhost> <87d06d9zzc.fsf@gnu.org> <001c01d64027$416be2e0$c443a8a0$@gmail.com> Date: Thu, 11 Jun 2020 23:12:54 +0200 In-Reply-To: <001c01d64027$416be2e0$c443a8a0$@gmail.com> (gennady uraltsev's message of "Thu, 11 Jun 2020 15:33:58 -0400") Message-ID: <87eeqlmhm1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40930-done Cc: 40930-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: -3.3 (---) Hi Gennady, > I have been using the new version quite intensely since several days > on a paper that used to get messed up. > > Everything seems to work very well. That's very good news! > Thank you so much! You are welcome. I'm closing this bug report then. Thanks, Tassilo ------------=_1591910042-31993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Apr 2020 13:00:39 +0000 Received: from localhost ([127.0.0.1]:39265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTPql-0008OR-JX for submit@debbugs.gnu.org; Tue, 28 Apr 2020 09:00:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:39832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTPqj-0008OH-45 for submit@debbugs.gnu.org; Tue, 28 Apr 2020 09:00:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58944) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTPpK-0005I5-5T for bug-auctex@gnu.org; Tue, 28 Apr 2020 09:00:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTPnj-000156-Fm for bug-auctex@gnu.org; Tue, 28 Apr 2020 08:59:05 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:45081) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTPnj-00014t-11 for bug-auctex@gnu.org; Tue, 28 Apr 2020 08:57:27 -0400 Received: by mail-qt1-x829.google.com with SMTP id 71so17084517qtc.12 for ; Tue, 28 Apr 2020 05:57:26 -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 :content-transfer-encoding:content-language:thread-index; bh=fXEMscDDVZPF11PA++IXY6SrGqjlynagNfBlOYfX+R0=; b=HrZDMk4un9NPIuzSrKkc1FCL6tyJV3S1QGAuH+4C9SbxOIHdHmzWOVnk6kGdxxmFX3 78QkwLuCOv7Au7QgF8lGyrkzLERfLFP9/O1FSPvzS4vJzZJPHFLEiyVw5SkoSgoQnK80 nUJ6jTGztPAQ50ank6R52ENkkQSuyXHxK/al/8DCIBQaNraMDo5ZclUIllYGi7EgiLFa aU+sJDw4KWf6KF68msNWYCzrzIdxy82l5cB0NTVjl+fZ6gSIvKphN57YarxzucgzeRVc +9szQvAmvuaso7G4ZcCm+x6JsVzynkQSJeSQf1FgGcPB6dbheANaHjCnbr1/mffXdKgX Vy3Q== 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 :content-transfer-encoding:content-language:thread-index; bh=fXEMscDDVZPF11PA++IXY6SrGqjlynagNfBlOYfX+R0=; b=HTSa/XrbLQ0mSHYsOcF4kxiy/V+peIZs2kCMOiBu0BJ9ft1zwJ8jUHWF0zHhGXDdjG +DY/DGcoIOGiyKYkSsiAdxhJIfN+5bpu7gPTEIxQi2HLmg790fsbtx8Wq5stohHvpj8B bvTk35yfO1xx/yJPWIzI/OBuQNoUU13T8oGu37TcTpH1jJlhv4IkhrxnrqO3w90FRFiz a2RUdm6XQ2zvfx9mEYthZacyA+3C+n/hOEVzd1bt4AJSJca0WxXReGMl1GU9ZsxxgXRa cs6LWhOh6GqOcpIjAKjaj/yhgJZiNsVhd4JT6gje0SDD8hfTW6N1yFBgyJqpss4pkzxs t1og== X-Gm-Message-State: AGi0PuYyfA5sAYCDTW6LEiirieoQKboK++05LyheZxU/NxQ95tlw+mTg 1EuoOIyztVPcSw9nEe4kTSR0l70C2g8= X-Google-Smtp-Source: APiQypKISkvl0JyL+2+q/f2kyjyIgz9Nx0qiGJCXW1RVzIwwGbrMWPCIv9qUepsMSVCfYAPkRsmWOg== X-Received: by 2002:ac8:70c9:: with SMTP id g9mr28547144qtp.375.1588078644814; Tue, 28 Apr 2020 05:57:24 -0700 (PDT) Received: from Holder (cpe-67-249-80-215.twcny.res.rr.com. [67.249.80.215]) by smtp.gmail.com with ESMTPSA id h19sm13696438qtk.78.2020.04.28.05.57.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2020 05:57:24 -0700 (PDT) From: To: Subject: AUCTeX fontification messed up Date: Tue, 28 Apr 2020 08:57:22 -0400 Message-ID: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AdYdW70cn0wjsKyeTqGpMOlvnqlc8Q== Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=gennady.uraltsev@gmail.com; helo=mail-qt1-x829.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::829 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 (--) Dear Everyone, I have posted a reddit thread about a bug wth AUCTeX fontification that exists since 6 years or so. I myself reported it here in 2019-06 but it was ignored. The bug is occurs frequently but is very hard to reproduce reliably: this is why I can't include a minimal example. The reddit thread is here: https://www.reddit.com/r/emacs/comments/g95vyl/font_lock_in_auctex_messed_up / and I copy the contents below for completeness. There is some discussion in the comments there. It would be great to have some instructions on how to approach the problem. ***** Hello everyone. I use AUCTeX to write papers in LaTeX. It is a great environment if configured correctly. I use it with preview-latex and prettify-symbols-mode. I want to use TeX-fold-mode but I have not set it up yet. However there is a recurring problem that is very difficult to catch and to diagnose. I have reported it on the bug-auctex mailing list and google searches give many other people complaining about the issue: https://lists.gnu.org/archive/html/bug-auctex/2019-06/msg00005.html https://emacs.stackexchange.com/questions/20518/how-to-investigate-color-ble eding https://github.com/syl20bnr/spacemacs/issues/9976 http://pragmaticemacs.com/emacs/refresh-auctex-syntax-highlighting/ https://github.com/syl20bnr/spacemacs/issues/5433 It seems to be a very difficult issue to reproduce consistently, even though it appears often in any large enough tex file. Here is what I know: It appears in: vanilla emacs, spacemacs, doom emacs. It appears in: windows, linux (I am currently on windows) It appears with (setq TeX-install-font-lock 'tex-font-setup) and (setq TeX-install-font-lock 'font-latex-setup) It *does not* depend on this issue https://www.gnu.org/software/auctex/manual/auctex/Known-problems.html#Known- problems (no verbatim or dollar signs) The problem can reappear and disappear even by inserting a single letter (in a math environment or outside one) The problem can sometimes reappear and disappear by merely scrolling the buffer The problem seems to get worse with larger files The problem seems to get worse with other functionality that relies on overlays/text properties e.g. preview-latex or rainbow-delimiters but it presents itself even without these packages. Another approach is to disable jit. It seems to help a lot but it doesn't solve the issue. Mistakes still occur. They are just fewer and thus tolerable. The problem disappears when doing M-x normal-mode but any action can make it reappear. Unfortunately, I am currently writing quite a large paper and this bug is making AUCTeX unusable. Every several letters I write trigger a change in fontification. The developers have ignored my bug report: I don't blame them. It is completely unclear how to reproduce it. I did ask for instructions on what to do but none were given. I am writing here to pool together all I have found about the issue so we could possibly help track this bug down. Any suggestions? EDIT:disabling jit helps a bit. **** Best, Gennady ------------=_1591910042-31993-1-- From unknown Fri Aug 15 16:22:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Gennady Uraltsev Subject: bug#36075: closed (Re: bug#40930: AUCTeX fontification messed up) Message-ID: References: <87eeqlmhm1.fsf@gnu.org> <9290454c-be21-854a-434f-05c096b69692@gmail.com> X-Gnu-PR-Message: they-closed 36075 X-Gnu-PR-Package: auctex Reply-To: 36075@debbugs.gnu.org Date: Thu, 11 Jun 2020 21:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1591910042-31993-3" This is a multi-part message in MIME format... ------------=_1591910042-31993-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40930: 2019-05-21; Font locking slow and unreliable which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 36075@debbugs.gnu.org. --=20 40930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40930 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1591910042-31993-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40930-done) by debbugs.gnu.org; 11 Jun 2020 21:13:08 +0000 Received: from localhost ([127.0.0.1]:38258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjUVY-0008Io-Kr for submit@debbugs.gnu.org; Thu, 11 Jun 2020 17:13:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjUVW-0008IL-CS for 40930-done@debbugs.gnu.org; Thu, 11 Jun 2020 17:13:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41340) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjUVQ-0003YP-Ct; Thu, 11 Jun 2020 17:13:00 -0400 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:36539) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jjUVP-0003dx-8e; Thu, 11 Jun 2020 17:12:59 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id CC08227C0054; Thu, 11 Jun 2020 17:12:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 11 Jun 2020 17:12:58 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehledgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnheptdelieffkeeuffduueeffefhiedtjeeutdeuve egfffgtdejleekheegkeetkeevnecukfhppeelfedrvdefiedrudefiedrfedunecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from thinkpad-t440p (p5dec881f.dip0.t-ipconnect.de [93.236.136.31]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C63B30614FA; Thu, 11 Jun 2020 17:12:57 -0400 (EDT) From: Tassilo Horn To: Subject: Re: bug#40930: AUCTeX fontification messed up References: <002901d61d5c$8fb50410$af1f0c30$@gmail.com> <25026.1591169885@localhost> <87d06d9zzc.fsf@gnu.org> <001c01d64027$416be2e0$c443a8a0$@gmail.com> Date: Thu, 11 Jun 2020 23:12:54 +0200 In-Reply-To: <001c01d64027$416be2e0$c443a8a0$@gmail.com> (gennady uraltsev's message of "Thu, 11 Jun 2020 15:33:58 -0400") Message-ID: <87eeqlmhm1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40930-done Cc: 40930-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: -3.3 (---) Hi Gennady, > I have been using the new version quite intensely since several days > on a paper that used to get messed up. > > Everything seems to work very well. That's very good news! > Thank you so much! You are welcome. I'm closing this bug report then. Thanks, Tassilo ------------=_1591910042-31993-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jun 2019 18:39:27 +0000 Received: from localhost ([127.0.0.1]:43088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXrrj-0004Va-DM for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:39:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXrrh-0004VA-S9 for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:39:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:59274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXrrc-00018l-KR for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:39:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrra-0002xv-VE for bug-auctex@gnu.org; Mon, 03 Jun 2019 14:39:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXrcu-00028m-Ry for bug-auctex@gnu.org; Mon, 03 Jun 2019 14:24:10 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:44776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXrcu-000262-F0 for bug-auctex@gnu.org; Mon, 03 Jun 2019 14:24:08 -0400 Received: by mail-qt1-x829.google.com with SMTP id x47so10548825qtk.11 for ; Mon, 03 Jun 2019 11:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:from:openpgp:autocrypt:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=pnhUbo1X/4EkLVkGietwtB98wetBf1UqiGMSnOstSRI=; b=Lw/CPqZF/Nh6P2buCzVniVQ+wsYiIOXrhl6f8bnEQ4mFBVoz3jAxgnOcfmvndnUwuy h7LtjKyLiMqA5xcs1W5AihIKLl0C4fFwRbOv+RazvPOsSpw1rObDSslFIosw5f9Oaz9t YwNJ+Yi+b2A5klYf5KRpMn+hK7EpEPzZYoXaQcFcOtMy2G/ub9mx6CMSZ6DpwfbjxEA0 iceDp0qXjsIRD3pdc7MNO6LRNm51fENIGOHDXWisYdZEGl9BWeWJZlHcFgppfcdYtve8 ZswFhjYFHCeGKyN3N1ozBTCTvdscAw3nkAKKc7NbYHc7dAsHxoleuncLZi93lSOF2EcO 6Xdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=pnhUbo1X/4EkLVkGietwtB98wetBf1UqiGMSnOstSRI=; b=JVoTrHxHJFgknezn9fwMSVlH6kzi4PqZCqIz9JUWhfuAmk1L9ZKPynnrtcWYxRr1Ac ZBIkb2UJ0uoQCIRMz2PGiNEUhuC+N+uIxxY+TMK1sR+Lvqh8gevataH2whmADPeJkbCS x6XwdIM2FeTDdnmKmqNkeygPgnDJX42I9gMiZUqEzKGTXG39Aaf3SnoTEUXJxhSU+h+b 7mZwK/28JQYk88igwp4pBAHKbNmgZVCfH0JbpzPlJghQw+oCIQ7pEsXlo4e6ByFef2cL ezUalF7hVBZEU7vqDynsPBhEDaUCzhWK0X180ZTZZ/5IXC1+y2VpjEDzHtMLFck4PYFf 3ilw== X-Gm-Message-State: APjAAAV54FKZ0fxfmsrCR0SoO2tq55xzIF0h29T2FydVyM9ybc59N//h p06QIapXshajkrpWAJ2ljNg1WkEvg/M= X-Google-Smtp-Source: APXvYqznMfRdejAtcPyXPZ48U/eW1wqLZ2GSN9Z/LxGe2IWvcNnLqLMP+DkOIlyyGfANdf8mB4b8RA== X-Received: by 2002:ac8:30c4:: with SMTP id w4mr23609862qta.314.1559586246324; Mon, 03 Jun 2019 11:24:06 -0700 (PDT) Received: from [132.236.187.84] (dhcp-m64-84.math.cornell.edu. [132.236.187.84]) by smtp.gmail.com with ESMTPSA id c30sm9932319qta.25.2019.06.03.11.24.04 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 11:24:05 -0700 (PDT) To: bug-auctex@gnu.org Subject: 2019-05-21; Font locking slow and unreliable From: Gennady Uraltsev Openpgp: preference=signencrypt Autocrypt: addr=gennady.uraltsev@gmail.com; keydata= mQINBE7qfFQBEACl1yOSe3BopsAKSeuHtZWVxacch2RJItQlExp4qIaRl9GiccdpjrBCQTs8 VknCfDSeLlB2MmJZ1cXe0ank7W6KEdjrCd1Dlkp3MrDSc6wPlPtGvPSy89ZszQuUKiqDyT3w 7WGXBtvVMGq368eIXKGpXNEmHmUgklSEh/5bnl2MUtkcUGKBIKf4/Ub6ZYKpMWRd47Sp69+x 1om1j8QJimUox5gwQXn4DmOnakc7B8R2jN2Z18uAmjtCuswzj1H7m0MRB44Dwvin91KVeUTw kGzKfBIcLRl+b5wk5vA9zAj6Q5MOdXFLoFDgZbNHZTad5QzchhPuINmjC/CiOrQzjSHpbTr9 YOYLTvVv4EzQntZboZQgKsm9jn0Nf1YtVQH7PuulVaNPswKaOgwLLWwTGb9BYEWbPNZ4/m5a ei+baepsfetvwGb1NwACgDihVV6XnKFD/6LFIJ/oaSzkM+FNkWv+pAZjOhic3hCcXMGLePkf 8t8SviEk+QIz5RFjk1UFoZ6+tx2DVs1kLUCeA0Smdd2s0fiUuzBuIAfx9G6LKFD2f0YULGke 1hR3yOSNt5UHdV9gvyr3bsNw06Ayh5w2fLMCHwySuY+IL9b/kHhTN28Vdh6wdgBTnUPkerKR IBV1ijKmq/AhhfMFRP4/ZUTFXRANBgpdFVwSgkJMZnQwyY4RkQARAQABtDBHZW5uYWR5IE4u IFVyYWx0c2V2IDxnZW5uYWR5LnVyYWx0c2V2QGdtYWlsLmNvbT6JAlgEEwEIAEICGwEGCwkI BwMCBhUIAgkKCwQWAgMBAh4BAheAAhkBFiEEqwpeDQ+XtU9KWXUy8dJ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C2xsVt95S6wBqx+Xf9q8DiLt20NiujOj HxfegGHkcJ8Hy+j3209p0urCx3Mt5skPQKiUfahPMJDjUB9E2y4UX/ix Message-ID: <9290454c-be21-854a-434f-05c096b69692@gmail.com> Date: Mon, 3 Jun 2019 14:24:03 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::829 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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 (--) Dear everyone, When working with non-trivial length tex files (500 lines?) font locking in AucTeX stops working reliably. Often changing a single character inside math (e.g. $ 1|+1=12 $ to $11|+1=12$ ) makes all the text in the window become fontified as math text (in my case, color blue). Sometimes AucTeX recovers after several seconds and sometimes it fails to recover and I have to issue TeX-normal-mode. Since this is recurrent it gets quickly annoying. On the other hand I do not know how to debug this because this depends a lot on the file. Just changing it a bit sometimes makes the problem disappear. Could anyone suggest an approach to debugging this so I can submit a more meaningful bug report about AucTeX font lock? Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-12 Package: 2019-05-21 current state: ============== (setq AUCTeX-date "2019-05-21" window-system 'x LaTeX-version "2e" TeX-style-path '("/usr/local/var/auctex" "/home/guraltsev/.emacs.d/straight/build/auctex/auctex/style" "/home/guraltsev/.emacs.d/auctex/auto" "/home/guraltsev/.emacs.d/auctex/style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master "../main" TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary\n file") ("Index" "makeindex %s" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %s" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) ------------=_1591910042-31993-3--