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: Tue, 12 Nov 2013 10:53:51 +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:
>
>> 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.





reply via email to

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