From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: haj@posteo.de (Harald =?UTF-8?Q?J=C3=B6rg?=) Newsgroups: gmane.emacs.bugs Subject: bug#14343: cperl-mode: Inserting text into here-documents now works Date: Tue, 31 Aug 2021 11:56:55 +0000 Message-ID: <87pmttn7y0.fsf@hajtower> References: <87wno2m6ww.fsf@hajtower> <20210831091229.GJ22410@zira.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28806"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 14343@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 31 13:58:11 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 1mL2P5-0007Dq-2u for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Aug 2021 13:58:11 +0200 Original-Received: from localhost ([::1]:35452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL2P3-0000qw-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Aug 2021 07:58:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL2Ow-0000qe-Mk for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 07:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mL2Ow-0003uI-Fm for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 07:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mL2Ow-0007zh-DE for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 07:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: haj@posteo.de (Harald =?UTF-8?Q?J=C3=B6rg?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Aug 2021 11:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 14343-submit@debbugs.gnu.org id=B14343.163041103230665 (code B ref 14343); Tue, 31 Aug 2021 11:58:02 +0000 Original-Received: (at 14343) by debbugs.gnu.org; 31 Aug 2021 11:57:12 +0000 Original-Received: from localhost ([127.0.0.1]:33186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL2O4-0007yS-8P for submit@debbugs.gnu.org; Tue, 31 Aug 2021 07:57:12 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:43027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL2Ny-0007xv-KE for 14343@debbugs.gnu.org; Tue, 31 Aug 2021 07:57:06 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 41005240026 for <14343@debbugs.gnu.org>; Tue, 31 Aug 2021 13:56:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1630411016; bh=2+30tqmLGyJex0LEvu1naAp2eEumY57D4Oyda7gj6iQ=; h=From:To:Cc:Subject:Date:From; b=Ts6LMus/zZnGKRuJnMOSNQiu08VKJAxPE6obBi/fTcKxX6Jy348iBrcPRnSkY+aMg kRG7+hOi9ddmPk1Iw2HAc/JoBayNEe8WhW4k8E1sovgSOrCkCv+p/RxIXeJOaiaIwV NnwgeGOHKoCMvP1re+PQkqIrcLdv61wJ36dWO2UbWcdydwE5uJaowNhHBFZ7lKDdmn ai1rtRqJH6G+k5A6hIti1H1HXSWWMqfJdVGQoD2JcLtEtYd1DwlBHbw3qvjX0xVjQb 7MsjjDxndmVcFaudCFY9UXk9fWJLoBWPugg+Vmtc+rr44S9Ja4HgRLqPI/ygyICzDl AYaNKTh5/5GVw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GzQdz4k1fz9rxR; Tue, 31 Aug 2021 13:56:55 +0200 (CEST) In-Reply-To: <20210831091229.GJ22410@zira.vinc17.org> (Vincent Lefevre's message of "Tue, 31 Aug 2021 11:12:29 +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:213091 Archived-At: Hello, > On 2021-08-31 07:04:31 +0000, Harald J=C3=B6rg wrote: >> The bug which made CPerl mode mistreat changes to here-documents has >> been fixed in the repository, for the cases of (insert "\n") (Bug#28962) >> and yanking (Bug#14343) in particular, and in general for changes by >> elisp code. >>=20 >> cperl-mode.el from the repository can be used with Emacs 26.1 or newer. > > Concerning my bug #14343, I had noted 4 years ago in the associated > Debian bug that I could no longer reproduce the issue in Emacs 25: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D706701#17 Thanks for that info! I admit that I haven't checked the fate of the Debian bug report when I started testing, but I can confirm that with your particular recipe, the bug does not appear. > So it seems that there had already been some fixes in the past... The bug was still open in the Emacs bugtracker, so I did some tests and found that when I yank a region from regions _outside_ of a here-doc text, then fontification still wasn't correct (without that fix). For a colorful example, triple-click the line "print <