GNU bug report logs - #28962
cperl-mode: inserting newline at start of line in HERE

Previous Next

Package: emacs;

Reported by: Troy Hinckley <troyhinckley <at> gmail.com>

Date: Mon, 23 Oct 2017 23:59:01 UTC

Severity: minor

Tags: confirmed

Merged with 14343

Found in version 24.3

Done: haj <at> posteo.de (Harald Jörg)

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Harald Jörg <haj <at> posteo.de>, 28962 <at> debbugs.gnu.org
Subject: Re: bug#28962: A workaround to this issue is available in cperl-mode
Date: Wed, 26 Aug 2020 13:21:57 -0700
Harald Jörg <haj <at> posteo.de> writes:

> The root cause is that within HERE documents and PODs there's no
> syntax re-checking for every character inserted.
>
> To recover from such a situation, cperl-mode offers a
> command `cperl-find-pods-heres', also available from the menu
> 'Perl' -> 'Refresh "hard" constructions'.  A function which inserts
> text in a POD or HERE document should call cperl-find-pods-heres
> afterwards to avoid the issue.

Is that something we should work on improving, or does that mean that we
should close this as wontfix?




This bug report was last modified 3 years and 342 days ago.

Previous Next


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