From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64407: 29.0.92; Emacs hangs while editing TeX file Date: Sun, 02 Jul 2023 08:10:19 +0300 Message-ID: <83a5weq4p0.fsf@gnu.org> References: <7E32D1A5-D49E-46A1-979B-1029BE1BE5B0@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38518"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64407@debbugs.gnu.org To: Richard Stanton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 02 07:10:14 2023 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 1qFpLh-0009qw-Ki for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jul 2023 07:10:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFpLX-00038u-LZ; Sun, 02 Jul 2023 01:10:03 -0400 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 1qFpLW-00038l-FF for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 01:10:02 -0400 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 1qFpLW-000141-61 for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 01:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFpLV-0004Gh-Oy for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 01:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jul 2023 05:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64407 X-GNU-PR-Package: emacs Original-Received: via spool by 64407-submit@debbugs.gnu.org id=B64407.168827459816386 (code B ref 64407); Sun, 02 Jul 2023 05:10:01 +0000 Original-Received: (at 64407) by debbugs.gnu.org; 2 Jul 2023 05:09:58 +0000 Original-Received: from localhost ([127.0.0.1]:59003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFpLR-0004GE-OW for submit@debbugs.gnu.org; Sun, 02 Jul 2023 01:09:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFpLO-0004Fw-CQ for 64407@debbugs.gnu.org; Sun, 02 Jul 2023 01:09:55 -0400 Original-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 1qFpLH-00011m-CA; Sun, 02 Jul 2023 01:09:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=v2FCUgbOcXLETFR70fzuld6grlNE3bTDCyAQ60tAWcA=; b=A9BIVxan6M4B6/Yok0tJ p1A0QmFPsKaGfgxez8VX1aEwiHnWrjLVE256oy9keYe+XCjpI2SqnMeRctzhWtIu4tyYjjVEpLkQV S7ZTQktVrYGajStcR0eXc47EvG0+aO/h39fWPB9/3JWz1U52x9vS2ubALZRbZsIIIjfrS3D1QsOF5 Xk03BszO1awo4BxK3d0AygRa3pN9hXRiGh0m27NpXNNxtw/4iIp47BxSNJdwPhWFfCOGLlqsCpDHG Os5m4V+94BRoFlvjWbb1W1LQgwEwwm2dCMJnmFJrlmAvHSAj7Mz8L/DVPHMwWb02Wu/DqFU3bnr55 vrkk/3eJ5pIE/w==; Original-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 1qFpLG-0003XC-GZ; Sun, 02 Jul 2023 01:09:47 -0400 In-Reply-To: <7E32D1A5-D49E-46A1-979B-1029BE1BE5B0@berkeley.edu> (message from Richard Stanton on Sat, 1 Jul 2023 14:33:57 -0700) 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:264443 Archived-At: > From: Richard Stanton > Date: Sat, 1 Jul 2023 14:33:57 -0700 > > [Note: I’ve encountered the same behavior with all three release candidates of 29.1, but this problem does not occur with 28.2 (with the exact same init.el file).] > > Intermittently, while I’m typing in a LaTeX buffer, Emacs stops responding to the keyboard completely, and I have to “Force Quit” to get out. This always seems to be preceded by the message > > “Sorting TeX-symbol…done” > > appearing in the mini buffer. I don't see such a message in tex-mode.el. Are you using add-on packages for editing LaTeX? if so, which ones? I see TeX-PDF-mode and TeX-source-correlate-mode in your bug report -- what are those? And what does "Force Quit" mean in terms of Emacs? Is this an Emacs command or an OS command? And what does it do to Emacs? do you still have the same session running after it, or does it abort Emacs? Also, how long did you wait before using "Force Quit"? could it be that Emacs is doing something that takes a long time? > I’ve noticed that the title changes if I mouse click on a different buffer, so Emacs seems not to be completely dead, but the cursor never appears in the new buffer and I can’t actually do anything so it (almost) might as well be. > > I’ve tried finding a simple, repeatable way to get this to happen, but have so far been unsuccessful. I’d be happy to investigate further if anyone can tell me how to do so. One way of investigating is to attach a debugger to Emacs when it stops responding, and show the backtrace from all the threads.