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

To reply to this bug, email your comments to 11335 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11335; Package emacs. (Tue, 24 Apr 2012 23:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 Apr 2012 23:19:02 GMT) Full text and rfc822 format available.

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

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: line with too many colons fools next-error
Date: Wed, 25 Apr 2012 07:16:15 +0800
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11335; Package emacs. (Mon, 30 Apr 2012 12:32:02 GMT) Full text and rfc822 format available.

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

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: jidanni <at> jidanni.org
Cc: 11335 <at> debbugs.gnu.org
Subject: Re: bug#11335: line with too many colons fools next-error
Date: Mon, 30 Apr 2012 08:30:06 -0400
On Wed, 25 Apr 2012 07:16:15 +0800 jidanni <at> jidanni.org wrote: 

j> C-x ` runs the command next-error, which is an interactive compiled
j> However it is fooled by the second of these error lines, skipping over it.

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

`next-error' uses the `compilation-mode' facilities in this case, so I
think `compilation-next-error-function' should get the bug report.

Ted




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11335; Package emacs. (Mon, 14 Oct 2019 03:29:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 11335 <at> debbugs.gnu.org
Subject: Re: bug#11335: line with too many colons fools next-error
Date: Mon, 14 Oct 2019 05:28:19 +0200
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

How do you replicate this error?

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11335; Package emacs. (Fri, 18 Oct 2019 09:06:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 11335 <at> debbugs.gnu.org
Subject: Re: 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11335; Package emacs. (Sat, 19 Oct 2019 08:07:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 11335 <at> debbugs.gnu.org
Subject: Re: bug#11335: line with too many colons fools next-error
Date: Sat, 19 Oct 2019 10:06:01 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> 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")'

Thanks for the easy way to replicate the bug.

> See how the second error line is a different color?

Yup; the first error is fontified as an error, while the second is
fontified as a function name, for some reason.

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




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 19 Oct 2019 08:07:02 GMT) Full text and rfc822 format available.

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

Previous Next


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