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: Nathan Trapuzzano
Subject: bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corner case)
Date: Sun, 10 Nov 2013 10:51:25 -0500
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3.50 (gnu/linux)

Jambunathan K <kjambunathan@gmail.com> writes:

> I attach the screenshot again.  (This one shows the cursor.)

Thanks, but after looking into this, I don't think it's a bug.
which-function-mode displays either the definition containing point or,
if there is none, the definition before and closest to point.  In
cperl's case, "definition" intentionally includes pod =head directives.
All you're seeing is the previous defintion's name being correctly
displayed in the mode line.

Perhaps a cperl variable to disable imenu indexing of POD directives is
what you want.  I might be able to implement something like that if it's
not too hard.





reply via email to

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