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


View this message in rfc822 format

From: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 15848 <at> debbugs.gnu.org
Subject: bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corner case)
Date: Sun, 10 Nov 2013 10:51:25 -0500
Jambunathan K <kjambunathan <at> 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.




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.