unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stanton <rhstanton@berkeley.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64407@debbugs.gnu.org
Subject: bug#64407: 29.0.92; Emacs hangs while editing TeX file
Date: Sat, 1 Jul 2023 23:09:30 -0700	[thread overview]
Message-ID: <29953BAA-5E65-4C10-B351-DFF7F3585C58@berkeley.edu> (raw)
In-Reply-To: <83a5weq4p0.fsf@gnu.org>

>> [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?

Yes, I use AUCTeX.

> 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.

I’m talking about “Force Quit” using the OS. It aborts 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 tried leaving it for several minutes, and nothing changes. Since all I’m doing is typing, this seems like long enough...

>> 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.

Do you have a reference for how to do this?

Thanks.








  reply	other threads:[~2023-07-02  6:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-01 21:33 bug#64407: 29.0.92; Emacs hangs while editing TeX file Richard Stanton
2023-07-02  5:10 ` Eli Zaretskii
2023-07-02  6:09   ` Richard Stanton [this message]
2023-07-02  6:42     ` Eli Zaretskii
2023-07-11 16:38       ` Richard Stanton
2023-07-11 18:24         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29953BAA-5E65-4C10-B351-DFF7F3585C58@berkeley.edu \
    --to=rhstanton@berkeley.edu \
    --cc=64407@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).