GNU bug report logs - #3613
[PATCH] Allow trailing spaces and " -" in filenames for the compile output parser

Previous Next

Package: emacs;

Reported by: Laurence Darby <ldarby <at> tuffmail.com>

Date: Fri, 19 Jun 2009 01:15:04 UTC

Severity: normal

Tags: wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Laurence Darby <ldarby <at> tuffmail.com>
Cc: 3613 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#3613: [PATCH] Allow trailing spaces and " -" in filenames for the compile output parser
Date: Sat, 27 Jun 2009 03:13:29 +0200
> I actually have a lot of files that have " -" in the names, this patch
> fixes it for me.  If anyone understands this regex (I don't really,
> just kept changing it till it worked), can you see if the change breaks
> anything else?

Your change turns the (core of) regexp back to just ".*?" as it was in
the past.  We disallowed trailing spaces as well as " -" because they
lead to false positives in some cases.
There's no way to win in all cases, sadly.


        Stefan




This bug report was last modified 13 years and 311 days ago.

Previous Next


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