bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corn


From: Jambunathan K
Subject: bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corner case)
Date: Wed, 13 Nov 2013 10:44:23 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nathan Trapuzzano <nbtrap@nbtrap.com> writes:

> Jambunathan K <kjambunathan@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]