|
From: | Dmitry Gutov |
Subject: | bug#22947: 25.0.92; xref-find-definitions fails for Perl & etags |
Date: | Wed, 9 Mar 2016 03:52:43 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
Hi Bob, On 03/08/2016 08:27 PM, Bob Rogers wrote:
The bug is that, no matter how many perl_method_name definitions exist in the TAGS file, xref-find-definitions won't find any of them, because it's only looking for an exact match to what Perl considers the package-qualified name, namely the "Perl::Package::perl_method_name" as it appears in this TAGS line: sub perl_method_name ^?Perl::Package::perl_method_name^A23,321
This seems to indicate a problem in etags. Were you using the "real" etags, one that's developed and distributed together with Emacs? Did it come with the development snapshot your bug report was sent from?
If so, please send a small sample of Perl code we can reproduce the problem in.
FWIW, the patch I have included below "================" papers over the problem (though it's clearly much too kludgy to apply).
Thanks, but yes, that patch is a kludge.
[Prev in Thread] | Current Thread | [Next in Thread] |