bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42251: 28.0.50; [PATCH] cperl-mode: Regression in fontifying HERE-do


From: Lars Ingebrigtsen
Subject: bug#42251: 28.0.50; [PATCH] cperl-mode: Regression in fontifying HERE-docs
Date: Wed, 05 Aug 2020 17:20:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Harald Jörg <haj@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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]