From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov 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 20:46:37 +0300 Message-ID: <4f65cb00-6713-07cf-49a2-224ba352937d@yandex.ru> References: <87pnasro4o.fsf@tromey.com> <87mu5sf364.fsf@tromey.com> <2eab0574-2504-2b27-1095-3c9025121dae@yandex.ru> <87pnakqe82.fsf@tromey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="89604"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: 41441@debbugs.gnu.org, Anders Lindgren To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 31 19:47:28 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 1jfS3Q-000N5u-EP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 19:47:24 +0200 Original-Received: from localhost ([::1]:33142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfS3P-00082s-EJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 13:47:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfS34-00080O-Lf for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 13:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfS34-000617-9W for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 13:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfS34-0003Ci-8F for bug-gnu-emacs@gnu.org; Sun, 31 May 2020 13:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 May 2020 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 41441-submit@debbugs.gnu.org id=B41441.159094721712306 (code B ref 41441); Sun, 31 May 2020 17:47:02 +0000 Original-Received: (at 41441) by debbugs.gnu.org; 31 May 2020 17:46:57 +0000 Original-Received: from localhost ([127.0.0.1]:33778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfS2q-0003CC-Mt for submit@debbugs.gnu.org; Sun, 31 May 2020 13:46:57 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:42210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfS2p-0003By-OW for 41441@debbugs.gnu.org; Sun, 31 May 2020 13:46:48 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id p5so3266172wrw.9 for <41441@debbugs.gnu.org>; Sun, 31 May 2020 10:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8zftJSZ7PsLt+Kx+njPnsA/HCzQ278jLjvQs+7ye/yI=; b=bxs+KdAxJIM+K+1au0TBbm/XIKUbDnvdiU6+ImKFqVJNz7zI5qemfUvjl62Rgqvk+v XEBHl61c3ZeCLXZQcfT3wMVoc7tMVJsuLNEQ69X/MydEhEwO2zU5FWKSca+u8rpdsqVY MoiOSpoDqR8VfR4l+E5oTugiHJOaO7QfqqytUIUxmZhZhcT3KhxIivXRhYmnP4XkKLgR ANLgpOt0qOdas1W+NzBL5y8whCQMtYFDpso1AyvnsxEakgMbFsGBZc+hpAG7Q39xhxtS Gnb+X4nIjOOotFePeSyvOG9Qas0ZepWdmVntEN/mpCBg62zc/qDhbhIRBhcktzddAD0G fLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8zftJSZ7PsLt+Kx+njPnsA/HCzQ278jLjvQs+7ye/yI=; b=miZ15N4V63WnOxU58X/o2fWcjUBuV0PNRAnfJETSuBGnBIx12+4gveZFirSYlq51Pi cqVXVerhQfYoo1cYjs3Ll2IySWKApaqo009cK7OulQI78DmjjmECuOs8zbv6G92e98Ko 8PWsqz0Fq50En0Xfpeh1mOkkOTRfAz/QHpvs36AChTvjwkoZmYyNsAgxIBC7kuO3aF3f Rku/bmNtjpm/GhgCX/gVxbC9GXa/IKV9efXrUUthGoUTcF/NGtCHfrn6A9fElxTsaOL1 2/fgilVq7uDT9hHhsyTRviZ2ead76zJs5IZ2k6vUJVXBXAl4IJGevDIKrQyosMV0vhdX SOiw== X-Gm-Message-State: AOAM5314TUmD90lpJTUenlO8avereiZNR4f+eUC56vhX4R4v3icmHJqk jO6aV8j06QbxER/8+etlBa0= X-Google-Smtp-Source: ABdhPJwUXHcQNqX/6pgztPVlsUpFBwptVZkLzGQnrQsnDsyRiWqV8hj73y81h5hPG1iPjKp9/R1uaw== X-Received: by 2002:a5d:500d:: with SMTP id e13mr19520183wrt.150.1590947199748; Sun, 31 May 2020 10:46:39 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id w17sm15923930wra.71.2020.05.31.10.46.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 May 2020 10:46:39 -0700 (PDT) In-Reply-To: <87pnakqe82.fsf@tromey.com> Content-Language: en-US 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:181306 Archived-At: On 31.05.2020 19:08, Tom Tromey wrote: > 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. That happens sometimes. :-) But you seem to be speculating there about whether font-lock-extend-region-multiline is needed. Not the mhtml specific function. > Soon I will install the patch to remove it. Thanks!