GNU bug report logs - #15848
24.3.50; cperl-mode + which-function: Improve reporting (corner case)

Previous Next

Package: emacs;

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


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

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Cc: 15848 <at> debbugs.gnu.org
Subject: Re: bug#15848: 24.3.50;
 cperl-mode + which-function: Improve reporting (corner case)
Date: Thu, 14 Nov 2013 11:09:02 +0530
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.