GNU bug report logs -
#15848
24.3.50; cperl-mode + which-function: Improve reporting (corner case)
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Sun, 10 Nov 2013 06:59:02 UTC
Severity: minor
Found in version 24.3.50
Done: Jambunathan K <kjambunathan <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Nathan Trapuzzano <nbtrap <at> nbtrap.com> writes:
> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> Hmm.... Losing something to gain some thing else doesn't seem good to
>> me.
>
> I don't follow. What's being lost?
Indexing of =headNs
>> I cursorily looked at cperl-mode. My gut feeling is that which-function
>> decides the box it is in by looking at the markers that is returned. So
>> we may have to examine what value goes in to the marker.
>
> Yes, which-function just looks at the markers in the imenu index.
> Changing those markers' positions is exactly what the patch does.
When POD headers are there, the Perl file is cut/segmented a certain
way. When POD headers are not indexed, the Perl file is cut/segmented
differently. Shouldn't we be cutting at the same spot with or without
perl headers?
This bug report was last modified 11 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.