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#61514: 30.0.50; sadistically long xml line hangs emacs Date: Wed, 15 Feb 2023 16:17:24 +0200 Message-ID: <83edqrau8b.fsf@gnu.org> References: <87lel0c65v.fsf@everybody.org> <0f053182b05e84d6251e@heytings.org> <6ec29aa7157c40ce76e9e0cf1a6351871e16ecd7.camel@everybody.org> <9e9ed8043f6ceff84cfc@heytings.org> <193237ba-9579-e71b-10ca-e13c2fdad0ae@yandex.ru> <9e9ed8043fd6295f8b5b@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13288"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mah@everybody.org, 61514@debbugs.gnu.org, dgutov@yandex.ru To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 15 15:18:31 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 1pSIcB-0003G9-JO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Feb 2023 15:18:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSIbz-0003eE-3j; Wed, 15 Feb 2023 09:18:19 -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 1pSIbv-0003dm-6i for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 09:18:15 -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 1pSIbi-0007uu-R9 for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 09:18:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSIbi-0004WS-GC for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 09:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2023 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61514 X-GNU-PR-Package: emacs Original-Received: via spool by 61514-submit@debbugs.gnu.org id=B61514.167647066917363 (code B ref 61514); Wed, 15 Feb 2023 14:18:02 +0000 Original-Received: (at 61514) by debbugs.gnu.org; 15 Feb 2023 14:17:49 +0000 Original-Received: from localhost ([127.0.0.1]:58344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSIbV-0004Vy-Eq for submit@debbugs.gnu.org; Wed, 15 Feb 2023 09:17:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSIbT-0004Vl-Lf for 61514@debbugs.gnu.org; Wed, 15 Feb 2023 09:17:48 -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 1pSIbO-0007sr-7Q; Wed, 15 Feb 2023 09:17:42 -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=SqWH3sJd0mRAokunpt92Dl9SOp78K9jfvS2KwPl0Kr4=; b=JhSGBgao17K3 vnAa3AmH+7fpxZFYMbsUj9qC5JOpkxw/vwI8ui+c6nacb+3CjJONwfZav3NAUJ/HXMHNBblMhrSTv 6kvvoN7uFzkgAwlewf7MPcnz0HtXiwCxMKlUloIc2r/6wI4X+tpt3zY61xq0rXms6bDiScqSCXmDh o88Ym6PNuKDPniqa/WPiPFWcJGPZzIh4fkpeyFh3O646oo647XQHvK2rwHSWeQvTBBWES34srjqan TySJ/ePZcqMnT+t79gawx0KDy7X6YTYqDMR3+Q48pODz3dWNhNs5tG56OlY0srkdsAaiS9De2L+Ds GaIN8bLcG+iiZXsSEb1jxg==; 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 1pSIbN-0000Vf-Nj; Wed, 15 Feb 2023 09:17:42 -0500 In-Reply-To: <9e9ed8043fd6295f8b5b@heytings.org> (message from Gregory Heytings on Wed, 15 Feb 2023 13:58:37 +0000) 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:255713 Archived-At: > Cc: "Mark A. Hershberger" , 61514@debbugs.gnu.org > Date: Wed, 15 Feb 2023 13:58:37 +0000 > From: Gregory Heytings > > > > > > It sounds like the bug lies somewhere in the intersection of nXML and > > the new long line fontification handling in Emacs 29 (with narrowing, > > perhaps)? > > Yes, it's an example in which the cure of narrowing around > fontification-functions could be considered worse than the disease. In > this particular case however, the fontification routines already failed to > do their job in Emacs 28 (and 24, 25, 26 and 27): after opening this file, > errors are displayed in the echo area, and the buffer remains unfontified. If fontification-functions failed regardless of the restriction, then perhaps fixing them so that they don't fail will also solve the greater problem? Btw, how does the narrowing make the matters worse, exactly? what is the mechanism of worsening the situation in this case?