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 #68 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: Tue, 12 Nov 2013 10:53:51 +0530
Nathan Trapuzzano <nbtrap <at> nbtrap.com> writes:

> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> Instead of bickering :-), we should ask for a third party vote or a
>> veto.
>
> Tell you what: if you can convince the maintainers to accept such a
> change, I'll write the patch.

I am convinced that maintainers are unlikely to have any other opinion.

Did you look at the behaviour of `which-function-mode' on Emacs Lisp
files.  You can also look at the behaviour in C source files.

In my specific case, the cursor is "right on" the function name.  So the
the displayed value should be that function name and not the previous
function name.

On the buffer zone between two defuns, which-function-mode MAY return
nil.  But this case is a "don't care" for me.




This bug report was last modified 11 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.