GNU bug report logs - #39972
28.0.50; which-function no longer returning current Java method in Emacs 27

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sat, 7 Mar 2020 13:09:02 UTC

Severity: normal

Found in version 28.0.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 39972 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 39972 <at> debbugs.gnu.org, p.stephani2 <at> gmail.com
Subject: Re: bug#39972: 28.0.50; which-function no longer returning current
 Java method in Emacs 27
Date: Fri, 22 May 2020 08:58:17 +0300
> Date: Thu, 21 May 2020 20:19:35 +0000
> Cc: p.stephani2 <at> gmail.com, 39972 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
> 
> class Foo {
>     void bar() {
>     // body
>     }
> }
> 
> , and enable which-function-mode.  When point is within class Foo or bar,
> which-function-mode reports "class Foo" or "bar" correctly.
> 
> But when point is _after_ the terminating brace of class Foo, "bar" is
> wrongly reported.  I now remember that this is the reason for my
> amendment to which-func.el.
> 
> Sorry to trouble you with such a minor point, but I'm unable to decide
> myself whether such a small bug should prevent the cherry-picking of
> 5989432 into emacs-27.  I'm leaning towards doing the cherry-pick.
> 
> So, please help me by making the decision.  Thanks!

I agree with you.




This bug report was last modified 4 years and 359 days ago.

Previous Next


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