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#61436: Emacs Freezing With Java Files Date: Sun, 12 Feb 2023 08:30:16 +0200 Message-ID: <83cz6fiefb.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15620"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61436@debbugs.gnu.org To: Hank Greenburg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 07:31:21 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 1pR5tQ-0003oT-DH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 07:31:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pR5tA-0002Yh-3b; Sun, 12 Feb 2023 01:31:04 -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 1pR5t8-0002Xt-6R for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 01:31:02 -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 1pR5t7-0001FT-TY for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 01:31:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pR5t7-0004Nc-Il for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 01:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 06:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61436 X-GNU-PR-Package: emacs Original-Received: via spool by 61436-submit@debbugs.gnu.org id=B61436.167618345316820 (code B ref 61436); Sun, 12 Feb 2023 06:31:01 +0000 Original-Received: (at 61436) by debbugs.gnu.org; 12 Feb 2023 06:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:43888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR5sz-0004NE-9Y for submit@debbugs.gnu.org; Sun, 12 Feb 2023 01:30:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR5sw-0004Mz-VD for 61436@debbugs.gnu.org; Sun, 12 Feb 2023 01:30:52 -0500 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 1pR5sq-00018P-W7; Sun, 12 Feb 2023 01:30:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9cLogEUf8CPKuA0nvkZbC+SkJiMf0C0VA7CacW+Qvn4=; b=g7EYQm/ntKqh X70qdZLgOiubJ1rVbuUoaK34G7KNtmRWbvFAzd9UxWQ85G7zLHlPrg64F2g8X4V6W4qLEkGeGqkbt jEjmUGUyWoXoVaPIa72XFM0Rt3CN6gxu2n0a1jTQvTUjiL1uoRHrWUr1KwzpX4/zsS0eNOl/90xL3 ZU0f7+vGstBPWvOWU2IDVMXI+uuyaysWJN+rUc6ZSurfTRXQrM56Fi7x4P7cHiS4+oGZIZq+7auOO lPTKq5yiv+jJkPcJ3mU5dSlEpQp9gV6+Y9yvn5l50iSzE5/O/tDRorEA5BVr9sBuwEeb5cG1JHrjT KTV+2gU0ZUUbu4YtWM5cEQ==; 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 1pR5sp-0002GR-Q7; Sun, 12 Feb 2023 01:30:44 -0500 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:255376 Archived-At: > Cc: 61436@debbugs.gnu.org > Date: Sun, 12 Feb 2023 00:24:49 +0000 > From: Hank Greenburg via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > To follow up on this, somehow disabling which-function-mode from my config has solved the problem. That > doesn't make sense though because I didn't add that until after it had frozen in the first place. I know that for > certain because I had to use IntelliJ and got the idea for using which-function-mode from IntelliJ. > > To clarify, this froze every single time I tried to edit the file no matter what modes I had turned on or off. It > happened at least 40 times in total and never once was I able to actually edit the file within Emacs. After > disabling which-function-mode though I have restarted Emacs a few times, written in the file, scrolled though > it all without a single hiccup. > > So my problem is seemingly solved but there is an underlying bug somewhere that I'm not really able to > isolate aside from disabling which-function-mode. If I visit the file you posted, and then turn on which-function-mode in it, I cannot reproduce the freezes. Scrolling through the file becomes slower, but nowhere near "freezing". Do you see something different when you enable just which-function-mode in "emacs -Q"?