GNU bug report logs - #15958
some lines throw M-x compile error finder way off track in perl mode

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sat, 23 Nov 2013 02:46:02 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15958 in the body.
You can then email your comments to 15958 AT debbugs.gnu.org in the normal way.

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#15958; Package emacs. (Sat, 23 Nov 2013 02:46: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. (Sat, 23 Nov 2013 02:46: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: some lines throw M-x compile error finder way off track in perl mode
Date: Sat, 23 Nov 2013 10:44:39 +0800
Using M-x compile in perl mode, this line can be found just fine,

Missing argument in printf at ./p line 44.

But this throws M-x compile way off track,

Useless use of a constant (6) in void context at ./p line 44.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Thu, 15 Aug 2019 02:37:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 15958 <at> debbugs.gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Wed, 14 Aug 2019 19:36:39 -0700
jidanni <at> jidanni.org writes:

> Using M-x compile in perl mode, this line can be found just fine,
>
> Missing argument in printf at ./p line 44.
>
> But this throws M-x compile way off track,
>
> Useless use of a constant (6) in void context at ./p line 44.

Do you have a perl file that allows us to reproduce this bug?

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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 15 Aug 2019 02:37:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Sat, 17 Aug 2019 01:23:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 15958 <at> debbugs.gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Sat, 17 Aug 2019 09:22:07 +0800
>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:

LI> Do you have a perl file that allows us to reproduce this bug?

Pick your favorite at
https://www.google.com/search?q=Useless+use+of+a+constant+in+void+context




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Sat, 17 Aug 2019 21:09:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 15958 <at> debbugs.gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Sat, 17 Aug 2019 14:08:06 -0700
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

>>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
> LI> Do you have a perl file that allows us to reproduce this bug?
>
> Pick your favorite at
> https://www.google.com/search?q=Useless+use+of+a+constant+in+void+context

Unless you can provide an example to allow us to reproduce the error,
it's unlikely that any progress will be made on this bug report.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Sun, 18 Aug 2019 08:31:01 GMT) Full text and rfc822 format available.

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

From: Achim Gratz <Stromeko <at> nexgo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Sun, 18 Aug 2019 10:30:00 +0200
Lars Ingebrigtsen writes:
> https://www.google.com/search?q=Useless+use+of+a+constant+in+void+context

Pick your poison:

perl -wE '{my %a; $a{b}=(a=>1,b=>2,c=>3);say %a};'
perl -wE '{my %a; $a{b}=(1, 2, 3);say %a;}'


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Fri, 23 Aug 2019 08:06:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 15958 <at> debbugs.gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Fri, 23 Aug 2019 16:04:48 +0800
Try this file:
use strict;
use warnings;
(22, 1);
Compile with "perl file".
You will even see emacs thinks the error is to be found on "line 22".

>>>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> 
LI> Do you have a perl file that allows us to reproduce this bug?




Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 01 Oct 2019 16:04:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Mon, 26 Sep 2022 22:48:02 GMT) Full text and rfc822 format available.

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

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: 15958 <at> debbugs.gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Mon, 26 Sep 2022 19:47:44 -0300
[Resending, because I messed up the bug address]


積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:


> Try this file:
> use strict;
> use warnings;
> (22, 1);
> Compile with "perl file".
> You will even see emacs thinks the error is to be found on "line 22".
>

I can't reproduce this on master.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15958; Package emacs. (Tue, 27 Sep 2022 11:43:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mauro Aranda <maurooaranda <at> gmail.com>
Cc: 15958 <at> debbugs.gnu.org
Subject: Re: bug#15958: some lines throw M-x compile error finder way off
 track in perl mode
Date: Tue, 27 Sep 2022 13:42:25 +0200
[Message part 1 (text/plain, inline)]
Mauro Aranda <maurooaranda <at> gmail.com> writes:

>> Try this file:
>> use strict;
>> use warnings;
>> (22, 1);
>> Compile with "perl file".
>> You will even see emacs thinks the error is to be found on "line 22".
>
> I can't reproduce this on master.

Me neither, so I'm closing this bug report.  (Although it does add a
link to "constant (22)" in addition to the "line 3" link, but that first
link doesn't point to any file.):

[Message part 2 (image/png, inline)]

bug closed, send any further explanations to 15958 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 27 Sep 2022 11:43:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 26 Oct 2022 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 233 days ago.

Previous Next


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