* bug#11335: line with too many colons fools next-error
@ 2012-04-24 23:16 jidanni
2012-04-30 12:30 ` Ted Zlatanov
2019-10-14 3:28 ` Lars Ingebrigtsen
0 siblings, 2 replies; 5+ messages in thread
From: jidanni @ 2012-04-24 23:16 UTC (permalink / raw)
To: 11335
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#11335: line with too many colons fools next-error
2012-04-24 23:16 bug#11335: line with too many colons fools next-error jidanni
@ 2012-04-30 12:30 ` Ted Zlatanov
2019-10-14 3:28 ` Lars Ingebrigtsen
1 sibling, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2012-04-30 12:30 UTC (permalink / raw)
To: jidanni; +Cc: 11335
On Wed, 25 Apr 2012 07:16:15 +0800 jidanni@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#11335: line with too many colons fools next-error
2012-04-24 23:16 bug#11335: line with too many colons fools next-error jidanni
2012-04-30 12:30 ` Ted Zlatanov
@ 2019-10-14 3:28 ` Lars Ingebrigtsen
2019-10-18 9:04 ` 積丹尼 Dan Jacobson
1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14 3:28 UTC (permalink / raw)
To: jidanni; +Cc: 11335
jidanni@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#11335: line with too many colons fools next-error
2019-10-14 3:28 ` Lars Ingebrigtsen
@ 2019-10-18 9:04 ` 積丹尼 Dan Jacobson
2019-10-19 8:06 ` Lars Ingebrigtsen
0 siblings, 1 reply; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-10-18 9:04 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 11335
>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:
LI> jidanni@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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#11335: line with too many colons fools next-error
2019-10-18 9:04 ` 積丹尼 Dan Jacobson
@ 2019-10-19 8:06 ` Lars Ingebrigtsen
0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-19 8:06 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 11335
積丹尼 Dan Jacobson <jidanni@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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-10-19 8:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 23:16 bug#11335: line with too many colons fools next-error jidanni
2012-04-30 12:30 ` Ted Zlatanov
2019-10-14 3:28 ` Lars Ingebrigtsen
2019-10-18 9:04 ` 積丹尼 Dan Jacobson
2019-10-19 8:06 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.