From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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:22:26 +0200 Message-ID: <87mtb0z8u5.fsf@gnus.org> References: <87pmfx6h7y.fsf@gnus.org> <2b58b8f5429a6e3aecda@heytings.org> <834jx85tyv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 57804@debbugs.gnu.org, Paul Pogonyshev To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 22:23:14 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 1oYvOB-0005zg-Rs for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 22:23:11 +0200 Original-Received: from localhost ([::1]:54620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYvOA-0005bx-FZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 16:23:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYvO2-0005bZ-J8 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 16:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYvO2-0004hw-BF for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 16:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYvO2-0004Vg-65 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 16:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2022 20:23: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.166327335817294 (code B ref 57804); Thu, 15 Sep 2022 20:23:02 +0000 Original-Received: (at 57804) by debbugs.gnu.org; 15 Sep 2022 20:22:38 +0000 Original-Received: from localhost ([127.0.0.1]:59301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYvNe-0004Us-CP for submit@debbugs.gnu.org; Thu, 15 Sep 2022 16:22:38 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYvNc-0004Ud-OE for 57804@debbugs.gnu.org; Thu, 15 Sep 2022 16:22:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jpNV3/3eXgzgX4Lw5p9U6jkuwTIptyUvINi3ZQSHn14=; b=YjgnvkEYPLUKh0Qc3QeguEP1sa 0nFjWMTqDAfvVZj350i2ppI1lTrtH1m8UpC7a6LiPC/Uo1NdolhZtgJbSj1Wed0LVCM/Otc7Ojuc/ Jwl+lGGI4U8R/ttYxCK/ztMRteKUUNkRRBvanY5kHx5auWNyfAl9cRH0b+99rSEbzKhA=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYvNT-0005GX-Dx; Thu, 15 Sep 2022 22:22:29 +0200 In-Reply-To: (Gregory Heytings's message of "Thu, 15 Sep 2022 20:18:27 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXMpLGXVWtAKzX/ //8EVnt4AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YJDxQVLEf4oUMAAAFwSURBVCjPRdHBauMwEAbg sakN8SmFeKE59VTafQq3LIbNKQ2RwDqHQvQUPXR7dsoqlJxSiEz0P+XOjLNUJ33MSBrNEFFheKWA gyEBGeODRxBkDYcs0oaRZY8M9x9LBhCPAlrXHEBcMug61MYz5DaqTb0CoxfMNnwXEDRtNh4JjSCz YYFkzFpQ2MjwRt4hsgOndS4qXjiCrvZ6wSBpptB3HmLqfLILJ/h57iTyWyPzrWE8j3B28Y2qFayN ovxTM2qryN+lth/BamSwCTjsWz1z7BJ/Dk9a6Kbb8j49azm3/OuEuNJCp9IoRD1DJP1AKi8YGKe5 7ou4Z/y94PCBL7zdjLAr7PA2obGLLXbutVCUrkU/v6RNtk/o3eu94g49Ty4lxbZtqjjHWdtryi7j PiqKEinzHietusI5dxdMy+GU81B3giWnlTz6TNBUOE0cPhU0Qz/xOGQ6+mscK57joyLfC8KvEWVi pDU1lNPVjRFs/gHpyKpg4dR1GQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wOS0xNVQyMDoyMTo0 NCswMDowMCe1GEEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMTVUMjA6MjE6NDQrMDA6MDBW 6KD9AAAAAElFTkSuQmCC X-Now-Playing: Pan Amsterdam's _Eat_: "Blue Agave" 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:242646 Archived-At: Gregory Heytings writes: >> I see that manually evaluating `(setq-local long-line-threshold >> nil)' in a buffer where the optimization is already in effect >> (i.e. where `(long-line-optimizations-p)' evaluates to t) doesn't >> disable the optimization. Do you have a solution for that? > > No, and that will not be supported. Well, that's when you need it -- you've discovered that the current buffer is all wonky because of this, so you want to switch it off in that particular buffer.