GNU bug report logs - #43651
27.1; compile.el should not parse its own header for errors

Previous Next

Package: emacs;

Reported by: David Landell <david.landell <at> sunnyhill.email>

Date: Sun, 27 Sep 2020 16:39:02 UTC

Severity: normal

Tags: confirmed, fixed

Found in version 27.1

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Landell <david.landell <at> sunnyhill.email>
Cc: 43651 <at> debbugs.gnu.org
Subject: bug#43651: 27.1; compile.el should not parse its own header for errors
Date: Tue, 29 Sep 2020 16:01:56 +0200
David Landell <david.landell <at> sunnyhill.email> writes:

> I am attaching a patch that superficially seems to fix these issues.
> I have a hard time judging if this fix has any bad side effects or
> similar though.

Thanks for the analysis -- your patch was basically correct, I think,
but a bit brittle.  Instead of doing the marking with a variable, I've
now made compile mark the end of the header with a text property, and
that's then used to find the end of the header when pasing.

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




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

Previous Next


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