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#47657: python-shell font-lock with multi-line input: runaway fontification buffer length Date: Wed, 13 Oct 2021 18:45:34 +0200 Message-ID: <87bl3s50wh.fsf@gnus.org> References: <603226C1-620D-4C53-B8E9-A2ECA3A3DB3C@gmail.com> <87y2dnyhix.fsf@gnus.org> <0BCE3A3A-7A11-465A-8057-0546097D99FA@gmail.com> <87fszusj6z.fsf@gnus.org> <1971BD45-05FC-4124-8A3C-7EBC968D55D5@gmail.com> <87lf96l139.fsf@gnus.org> <8735vejhol.fsf@gnus.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="10172"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 47657@debbugs.gnu.org To: JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 13 18:46:20 2021 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 1mahOW-0002Sn-7f for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 18:46:20 +0200 Original-Received: from localhost ([::1]:54630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mahOU-0000Gj-UR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 12:46:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mahOE-0000GD-IT for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 12:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mahOE-0004oq-6U for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 12:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mahOE-0006Zk-55 for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 12:46: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: Wed, 13 Oct 2021 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47657 X-GNU-PR-Package: emacs Original-Received: via spool by 47657-submit@debbugs.gnu.org id=B47657.163414354725237 (code B ref 47657); Wed, 13 Oct 2021 16:46:02 +0000 Original-Received: (at 47657) by debbugs.gnu.org; 13 Oct 2021 16:45:47 +0000 Original-Received: from localhost ([127.0.0.1]:33210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mahNz-0006Yy-HS for submit@debbugs.gnu.org; Wed, 13 Oct 2021 12:45:47 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mahNw-0006Yc-2b for 47657@debbugs.gnu.org; Wed, 13 Oct 2021 12:45:44 -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: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=94Dj8gXbKRZx8l4Abi35MK52vkarXn11u03YK3+Qs/Q=; b=GR61HnYmVaA4gli1Ed8qQ16S4D Mn9YV8kQXICfjSxi/piSqqE2GEvHg1hvigrbZpGyKm3ytUAEvY2xQSGTEAxM+ImIXLjvMsW73JIgo L+BJYr0glYbia3Wu6FOw7gfQb0Da538k1y82r2k7z/1qXUyCfFML8nAGa9JvvHLs2bMk=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mahNn-0001aq-9z; Wed, 13 Oct 2021 18:45:37 +0200 X-Now-Playing: Body =?UTF-8?Q?Me=CF=80a's?= _The Work Is Slow_: "Bullitt" In-Reply-To: <8735vejhol.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 25 Apr 2021 21:19:22 +0200") 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:217149 Archived-At: Lars Ingebrigtsen writes: > JD Smith writes: > >> Very odd, I get : >> >> 1 >> 1 >> 7 >> >> in *Python-font-lock* after precisely these same steps. What if you >> use C-j in step >> #5 instead of C-c SPC? > > I don't see any difference. > > (This is with Emacs 27.2 on Debian/Bullseye.) I was finally able to reproduce this -- I'm not sure what I was doing differently before. This is now fixed in Emacs 29 (I'm not putting the fix into emacs-28, because I'm not 100% sure about it). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no