From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hank Greenburg via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61436: Emacs Freezing With Java Files Date: Sun, 12 Feb 2023 16:52:51 +0000 Message-ID: References: <83cz6fiefb.fsf@gnu.org> Reply-To: Hank Greenburg Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34235"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61436@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 17:54:32 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 1pRFcW-0008l9-2g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 17:54:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRFc8-0003dn-IL; Sun, 12 Feb 2023 11:54:08 -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 1pRFc3-0003dW-1b for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 11:54:03 -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 1pRFc2-0007fu-Hc for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 11:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRFc2-0001cW-7p for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 11:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hank Greenburg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 16:54:02 +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.16762207926167 (code B ref 61436); Sun, 12 Feb 2023 16:54:02 +0000 Original-Received: (at 61436) by debbugs.gnu.org; 12 Feb 2023 16:53:12 +0000 Original-Received: from localhost ([127.0.0.1]:46532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRFbD-0001bN-M4 for submit@debbugs.gnu.org; Sun, 12 Feb 2023 11:53:12 -0500 Original-Received: from mail-40134.protonmail.ch ([185.70.40.134]:24331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRFbA-0001b8-NE for 61436@debbugs.gnu.org; Sun, 12 Feb 2023 11:53:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1676220782; x=1676479982; bh=F6e4RPUnHTb4CCx/RQnYdhqxPDdhq+lYV03unL2O0xQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=GDnhQ49ZvKv38ZhvrxcSY7h2coh8fLhj5Kw7KzQDvgiXE1s/9vWpZYyeF7XE/fkwe ETPT9dzex0aUuLLL64T6/0gdtXIRSgwGRHntWEoaT5LnlePTzSTdN1xuHQmE+vhWrs zK60pId42ZRvgDIHL3eLdIgvaiIh3EkQRCraAbtL5lkIJy4wTqF04Zn/rToQ7ruE1O PldWgzNEaF87XBHYmco/B18feEVs8f8gPu7oixBA6dJzTwpHbPWQoHhKU1L03tZbMY VUh9T9lsLbZ8W/a2cem1/F0WC28Hcof0bVzLubLznr38tJ4nxf9fyBlHsFon1bpDMf Zajy/CD6CX77w== In-Reply-To: <83cz6fiefb.fsf@gnu.org> Feedback-ID: 10943770:user:proton 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:255425 Archived-At: I was just able to reproduce this 5 times in a row with doing the steps bel= ow.=20 Launch with emacs -Q org-babel-execute-src-block for the Repos block and Hyperbole. The Hyperbol= e block won't work unless you do the Repos block first. Go to the Java file. Hold CTRL + Up/Down Arrow keys to quickly move through= the file.=20 This works just fine until which-function-mode is activated. After that is = activated I can scroll through maybe twice before it freezes.=20 It almost always happens after hitting the end of the file, and the first j= ump up after that. Or at least it has happened 4/5 times by doing that. The= other time I avoided the end of the file to see if that was the trigger an= d it still froze.=20 ------- Original Message ------- On Sunday, February 12th, 2023 at 12:30 AM, Eli Zaretskii wr= ote: >=20 >=20 > > Cc: 61436@debbugs.gnu.org >=20 > > 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" bug-gnu-emacs@gnu.org > >=20 > > To follow up on this, somehow disabling which-function-mode from my con= fig 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. > >=20 > > To clarify, this froze every single time I tried to edit the file no ma= tter what modes I had turned on or off. It > > happened at least 40 times in total and never once was I able to actual= ly 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. > >=20 > > So my problem is seemingly solved but there is an underlying bug somewh= ere that I'm not really able to > > isolate aside from disabling which-function-mode. >=20 >=20 > 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". >=20 > Do you see something different when you enable just > which-function-mode in "emacs -Q"? >