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
Message #80 received at 15848 <at> debbugs.gnu.org (full text, mbox):
Nathan Trapuzzano <nbtrap <at> nbtrap.com> writes:
> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> Perl->Tools->Imenu-POD headers menu entry.
>> cperl-imenu-index-pod is a variable defined in `cperl-mode.el'.
> Perhaps I misunderstand, but when I have that variable set to nil, the
> POD imenu entries go away, which is what the docstring says.
The behaviour is as documented. I should have done something wrong
yesterday.
> However, I think indexing the POD entries by default is the better way
> for several reasons:
>
> 1. cperl-mode already does it that way.
> 2. perl-mode does it.
> 3. There is no "pod-mode". For editing pod files, perl-/cperl-mode is
> the best Emacs has. Moreover, many people _do_ write plain pod
> files, in which case the entries should get indexed.
Hmm.... Losing something to gain some thing else doesn't seem good to
me.
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.
My recommendation would be to put the patch on hold.
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.