From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#41441: 26.3; mhtml misbehaving font-lock extend region can cause Emacs to hang Date: Sun, 31 May 2020 10:08:29 -0600 Message-ID: <87pnakqe82.fsf@tromey.com> References: <87pnasro4o.fsf@tromey.com> <87mu5sf364.fsf@tromey.com> <2eab0574-2504-2b27-1095-3c9025121dae@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="73272"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41441@debbugs.gnu.org, Tom Tromey , Anders Lindgren To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 31 18:09:13 2020 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 1jfQWO-000Iyi-HX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 18:09:12 +0200 Original-Received: from localhost ([::1]:36630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfQWN-0000Kw-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 12:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfQWE-0000KL-V9 for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 12:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfQWE-0001nu-MC for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 12:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfQWE-00079u-Do for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 12:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 May 2020 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41441 X-GNU-PR-Package: emacs Original-Received: via spool by 41441-submit@debbugs.gnu.org id=B41441.159094133327501 (code B ref 41441); Sun, 31 May 2020 16:09:02 +0000 Original-Received: (at 41441) by debbugs.gnu.org; 31 May 2020 16:08:53 +0000 Original-Received: from localhost ([127.0.0.1]:33667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfQVq-00079C-P4 for submit@debbugs.gnu.org; Sun, 31 May 2020 12:08:53 -0400 Original-Received: from gateway21.websitewelcome.com ([192.185.45.175]:47651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfQVl-000791-B6 for 41441@debbugs.gnu.org; Sun, 31 May 2020 12:08:37 -0400 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway21.websitewelcome.com (Postfix) with ESMTP id A5389400C5585 for <41441@debbugs.gnu.org>; Sun, 31 May 2020 11:08:32 -0500 (CDT) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id fQVkjYsju8vkBfQVkjAltJ; Sun, 31 May 2020 11:08:32 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=bPAjlw1Rmyw3I3IR9Ck/vFMNRgy7jCGK8keFZlXrSVI=; b=Hs/MrqgYmAckN4s5RGDUvnHLUV AJ+EQYE7+7QEM8bjyvBHGNLmGmgMdeQbjF8eJUGd622Jt2X2xoM0Os1yXFtNHPWyXHGrr7gbD8XVG aTclZymANboyNr6ui/IAjgAMs; Original-Received: from 174-16-104-48.hlrn.qwest.net ([174.16.104.48]:37110 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jfQVk-0027rx-Az; Sun, 31 May 2020 10:08:32 -0600 X-Attribution: Tom In-Reply-To: <2eab0574-2504-2b27-1095-3c9025121dae@yandex.ru> (Dmitry Gutov's message of "Thu, 28 May 2020 21:40:03 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.16.104.48 X-Source-L: No X-Exim-ID: 1jfQVk-0027rx-Az X-Source-Sender: 174-16-104-48.hlrn.qwest.net (bapiya) [174.16.104.48]:37110 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes 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:181297 Archived-At: Dmitry> Someone should take a look. Dmitry> If we don't find good examples, though, and if we agree that the Dmitry> design seems sound, we can turn it off on master and see if anyone Dmitry> complains. I tried it out a little on some code I have here, and as far as I can tell it is ok. Also see bug #29159, where Stefan says that this function should never shrink the region -- and where I also speculate that the function is probably not needed. Funny. Soon I will install the patch to remove it. Tom