Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 36386
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: use tabs-expanded column number for %c
Date: Tue, 03 Jun 2008 09:48:05 +1000
To: bug-perl-critic [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
It'd be nice if the %c in the error output format spec used the "tabs-expanded" column position that PPI provides in location->[2], as opposed to the "row-char" of location->[1]. A position including tabs expanded is of course how the code appears on the screen, and in particular emacs error positioning wants a tabs-expanded position. I guess there could be a place for a %C which was row-char, in case someone needed it, though I'd be very inclined to make tabs-expanded the default. (Current PPI has some caveats in the docs about tab_width not being ready yet, but it looks like the code is ahead of the docs. The default though is tab_width 1, so row-char and tabs-expanded are the same, but hopefully that can change quite soon :-)
Subject: Re: [rt.cpan.org #36386] use tabs-expanded column number for %c
Date: Sun, 29 Nov 2009 13:43:12 -0600
To: bug-Perl-Critic [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
Kevin Ryde via RT wrote: Show quoted text
> It'd be nice if the %c in the error output format spec used the > "tabs-expanded" column position that PPI provides in location->[2], as > opposed to the "row-char" of location->[1].
Don't know when this happened, but the code currently does this.