all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15958: some lines throw M-x compile error finder way off track in perl mode
@ 2013-11-23  2:44 jidanni
  2019-08-15  2:36 ` Lars Ingebrigtsen
  2022-09-26 22:47 ` Mauro Aranda
  0 siblings, 2 replies; 8+ messages in thread
From: jidanni @ 2013-11-23  2:44 UTC (permalink / raw)
  To: 15958

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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2013-11-23  2:44 bug#15958: some lines throw M-x compile error finder way off track in perl mode jidanni
@ 2019-08-15  2:36 ` Lars Ingebrigtsen
  2019-08-17  1:22   ` 積丹尼 Dan Jacobson
  2022-09-26 22:47 ` Mauro Aranda
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-15  2:36 UTC (permalink / raw)
  To: jidanni; +Cc: 15958

jidanni@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2019-08-15  2:36 ` Lars Ingebrigtsen
@ 2019-08-17  1:22   ` 積丹尼 Dan Jacobson
  2019-08-17 21:08     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-08-17  1:22 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 15958

>>>>> "LI" == Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2019-08-17  1:22   ` 積丹尼 Dan Jacobson
@ 2019-08-17 21:08     ` Lars Ingebrigtsen
  2019-08-18  8:30       ` Achim Gratz
  2019-08-23  8:04       ` 積丹尼 Dan Jacobson
  0 siblings, 2 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-17 21:08 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 15958

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

>>>>>> "LI" == Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2019-08-17 21:08     ` Lars Ingebrigtsen
@ 2019-08-18  8:30       ` Achim Gratz
  2019-08-23  8:04       ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 8+ messages in thread
From: Achim Gratz @ 2019-08-18  8:30 UTC (permalink / raw)
  To: 15958

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






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2019-08-17 21:08     ` Lars Ingebrigtsen
  2019-08-18  8:30       ` Achim Gratz
@ 2019-08-23  8:04       ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 8+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-08-23  8:04 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 15958

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@gnus.org> writes:
>> 
LI> Do you have a perl file that allows us to reproduce this bug?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2013-11-23  2:44 bug#15958: some lines throw M-x compile error finder way off track in perl mode jidanni
  2019-08-15  2:36 ` Lars Ingebrigtsen
@ 2022-09-26 22:47 ` Mauro Aranda
  2022-09-27 11:42   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 8+ messages in thread
From: Mauro Aranda @ 2022-09-26 22:47 UTC (permalink / raw)
  To: 15958

[Resending, because I messed up the bug address]


積丹尼 Dan Jacobson <jidanni@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#15958: some lines throw M-x compile error finder way off track in perl mode
  2022-09-26 22:47 ` Mauro Aranda
@ 2022-09-27 11:42   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-27 11:42 UTC (permalink / raw)
  To: Mauro Aranda; +Cc: 15958

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

Mauro Aranda <maurooaranda@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.):


[-- Attachment #2: Type: image/png, Size: 18643 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-27 11:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-23  2:44 bug#15958: some lines throw M-x compile error finder way off track in perl mode jidanni
2019-08-15  2:36 ` Lars Ingebrigtsen
2019-08-17  1:22   ` 積丹尼 Dan Jacobson
2019-08-17 21:08     ` Lars Ingebrigtsen
2019-08-18  8:30       ` Achim Gratz
2019-08-23  8:04       ` 積丹尼 Dan Jacobson
2022-09-26 22:47 ` Mauro Aranda
2022-09-27 11:42   ` 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.