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#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely Date: Thu, 15 Sep 2022 22:16:24 +0300 Message-ID: <834jx85tyv.fsf@gnu.org> References: <87pmfx6h7y.fsf@gnus.org> <2b58b8f5429a6e3aecda@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 57804@debbugs.gnu.org, larsi@gnus.org To: Paul Pogonyshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 21:17:15 2022 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 1oYuMM-0005nw-2G for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 21:17:14 +0200 Original-Received: from localhost ([::1]:56978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYuMK-0002E3-Go for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 15:17:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYuMA-0002Dq-S5 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 15:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYuMA-00050N-Jd for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 15:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYuMA-0002m4-8B for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2022 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 57804-submit@debbugs.gnu.org id=B57804.166326940210626 (code B ref 57804); Thu, 15 Sep 2022 19:17:02 +0000 Original-Received: (at 57804) by debbugs.gnu.org; 15 Sep 2022 19:16:42 +0000 Original-Received: from localhost ([127.0.0.1]:59187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYuLq-0002lJ-GH for submit@debbugs.gnu.org; Thu, 15 Sep 2022 15:16:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYuLn-0002l5-Bp for 57804@debbugs.gnu.org; Thu, 15 Sep 2022 15:16:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYuLg-0004xr-Rh; Thu, 15 Sep 2022 15:16:32 -0400 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=IKwjUFcdycY0rZgHLDkamiytFQE2e0pLEmGSqYKNDT8=; b=iVsEprt3w5mr HcTD71WRtff8AgKIxb0tL6b+03cIYYIf6OyAuvgzhdkXH5TkLBt/6ez3VepTlCFbr/xkdDvE4k8lv 8JbQU1cCFODwB2xBZprdSop6x8l4Bkdz9SBTWSYG3SXbiU8zuLDwcvOe4OxzrfeZ3xAyb1Ww51Pa+ jlz3bi5AY36d8qJnNDLGMme2wKyUtBWW8oMPfq8Hj7+8QTRaTER+Fy/8x+UErg75Nrdi1lsY44Au1 siuZWj7khXta/Pp58/XmxV7ewVuuW3+lJBPygvPgIkiRKufB3sHg81SmHdgEA9Vfn3YAIRZ8D/28D HfuNZq+jafYHHnx73FpemA==; Original-Received: from [87.69.77.57] (port=3062 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 1oYuLg-0002me-8u; Thu, 15 Sep 2022 15:16:32 -0400 In-Reply-To: (message from Paul Pogonyshev on Thu, 15 Sep 2022 20:49:17 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:242635 Archived-At: > Cc: Lars Ingebrigtsen , 57804@debbugs.gnu.org > From: Paul Pogonyshev > Date: Thu, 15 Sep 2022 20:49:17 +0200 > > > already told you thrice that a > > simple way to fix your problem is to set long-line-threshold to a larger > > value (or to nil). > > Thanks, I added `(setf long-line-threshold nil)' to Emacs startup configuration > file a couple of days before. But unless I'm missing something, this is not a > fix, only a workaround. What do you mean by ":workaround"? Doing that disables the feature which you don't want, so it fits the definition of "solution" in my book. > The variable is not buffer-local, so I cannot change it > in the mode, only as my personal setting. Every variable can be given a local value by using setq-local. Did you try that? If you did, and it didn't work, please show a recipe to reproduce this problem.