From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#56682: locked narrowing Date: Wed, 30 Nov 2022 10:00:31 +0000 Message-ID: References: <83r11fc80o.fsf@gnu.org> <83o7wjc6o2.fsf@gnu.org> <83lernc5gu.fsf@gnu.org> <83k076dd7d.fsf@gnu.org> <83czcyd8jf.fsf@gnu.org> <83a682d66r.fsf@gnu.org> <837d36ceno.fsf@gnu.org> <37dd2827f54f8bbda5e3@heytings.org> <735c1d5b-0d64-a8e1-3aaa-91fc0248abd3@yandex.ru> <97049541-f5b4-ed3b-b8de-7c0bdc86f0f5@yandex.ru> <6e305c9b-7702-133a-3347-f64db05ade3f@yandex.ru> <38224981-a87e-c606-dcbb-930d2d6f6334@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SoisMczTmq" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23171"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 30 11:01:23 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 1p0Ju7-0005p4-0k for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Nov 2022 11:01:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0Jtq-0007P5-5g; Wed, 30 Nov 2022 05:01:06 -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 1p0Jtn-0007Oi-D1 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:01:03 -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 1p0Jtm-0005gA-In for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0Jtm-0006oc-64 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2022 10:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.166980243826183 (code B ref 56682); Wed, 30 Nov 2022 10:01:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 30 Nov 2022 10:00:38 +0000 Original-Received: from localhost ([127.0.0.1]:59931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0JtN-0006oF-In for submit@debbugs.gnu.org; Wed, 30 Nov 2022 05:00:37 -0500 Original-Received: from heytings.org ([95.142.160.155]:37488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0JtI-0006o9-Oq for 56682@debbugs.gnu.org; Wed, 30 Nov 2022 05:00:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1669802431; bh=RGJHKRmAi46qtLMCxt3t9yu17Bl9/pb1M/qp4vmZgEI=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=BmyIfXl+U/i+gXPNYqSG8f7orbVItPBldhTOziQTzyl4JTR0ZqyhvYeF//zatowHm GpIhPgROhKCW9Z9+jkTZjJVPhrZCO2xYvYIWVelayUgubUvoi+4+unbGsJOTM5auA4 P1cNfBujumlNHjCRAr295mCqTXDsP9TqAT+t9h9vWXqJgp4tgJMhkpAB+EeCLr8RZE EZQAw53xesAenwfsqh+MM0+ATwEcH3VMHbzzgQFGp8OBsPIDkYFjtKddJ8JjhI5yQI 0ZRh4aF3FmQ8w/jmezwvVr2ggLu0BMdyJzw66Le2go0F7B9Yu7Q/61x4gMuknVMp6Y N4gsWNtl6qx9g== In-Reply-To: <38224981-a87e-c606-dcbb-930d2d6f6334@yandex.ru> 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:249472 Archived-At: --SoisMczTmq Content-Type: text/plain; charset=us-ascii; format=flowed > > Looking good. Thanks, Gregory! > Thanks for checking! Eli, is the attached okay for emacs-29? --SoisMczTmq Content-Type: text/x-diff; name=Actually-improve-detection-of-long-lines.patch Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: attachment; filename=Actually-improve-detection-of-long-lines.patch RnJvbSBhOTAwYTQxZTEwY2E5MjhlZGUxM2RhYjE2ZTJiM2M5NWUwZTNkODBj IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0 aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBXZWQsIDMwIE5v diAyMDIyIDA5OjU4OjQ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