GNU bug report logs - #42251
28.0.50; [PATCH] cperl-mode: Regression in fontifying HERE-docs

Previous Next

Package: emacs;

Reported by: Harald Jörg <haj <at> posteo.de>

Date: Tue, 7 Jul 2020 20:08:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 42251 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Harald Jörg <haj <at> posteo.de>
Cc: 42251 <at> debbugs.gnu.org
Subject: Re: bug#42251: 28.0.50; [PATCH] cperl-mode: Regression in
 fontifying HERE-docs
Date: Wed, 05 Aug 2020 17:20:15 +0200
Harald Jörg <haj <at> posteo.de> writes:

> This is an old-style HERE-document which is terminated by the string
> "HERE" which starts in the leftmost column.  cperl-mode in the master
> branch wrongly uses the first occurrence of "HERE" to terminate the
> string, resulting in badly fontified / indented code which follows.
>
> The bug was introduced by an incomplete fix for (Bug:#27254) to support
> indented HERE-documents in the commit
> 2017-07-12T15:07:55Z!vividsnow <at> gmail.com.
>
> A patch to cover this edge case is attached.

Thanks; applied to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.