GNU bug report logs - #11335
line with too many colons fools next-error

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 24 Apr 2012 23:19:02 UTC

Severity: minor

Tags: confirmed

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 11335 <at> debbugs.gnu.org
Subject: bug#11335: line with too many colons fools next-error
Date: Fri, 18 Oct 2019 17:04:52 +0800
>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
LI> jidanni <at> jidanni.org writes:

>> C-x ` runs the command next-error, which is an interactive compiled
>> 
>> However it is fooled by the second of these error lines, skipping over it.
>> 
>> make -k
>> perl -nwe 'next if (length) < 32; print "$ARGV:$.:$_"; $bad=1;END{die
>> if $bad}' 201204CS
>> 201204CS:1:.....................................
>> 201204CS:55:14:00~17:00 (13:50開始開放入場)
>> 201204CS:108:.....................................
>> Died at -e line 1, <> line 108.
>> END failed--call queue aborted, <> line 108.
>> make: *** [check_length] Error 22

LI> How do you replicate this error?

Real simple.

$ cat /tmp/b
make -k
perl -nwe 'next if (length) < 32; print "$ARGV:$.:$_"; $bad=1;END{die
if $bad}' 201204CS
201204CS:1:.....................................
201204CS:55:14:00~17:00 (13:50開始開放入場)
201204CS:108:.....................................
Died at -e line 1, <> line 108.
END failed--call queue aborted, <> line 108.
make: *** [check_length] Error 22
$ emacs -nw -Q -eval '(compile "cat /tmp/b")'

See how the second error line is a different color?




This bug report was last modified 5 years and 240 days ago.

Previous Next


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