From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <83zha04ikm.fsf@gnu.org> References: <20200308113302.43082.qmail@mail.muc.de> <20200520191303.GA19762@ACM> <835zcp5knl.fsf@gnu.org> <20200521174211.GA12036@ACM> <83367t5cdr.fsf@gnu.org> <20200521201935.GB12036@ACM> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="128966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39972@debbugs.gnu.org, p.stephani2@gmail.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 22 07:59:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jc0i7-000XSB-IG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 May 2020 07:59:11 +0200 Original-Received: from localhost ([::1]:57720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jc0i6-0002Qh-Lg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 May 2020 01:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc0hy-0002Nk-L0 for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 01:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jc0hy-0000ae-CY for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 01:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jc0hy-0007SU-A6 for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 01:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 May 2020 05:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39972 X-GNU-PR-Package: emacs Original-Received: via spool by 39972-submit@debbugs.gnu.org id=B39972.159012710428626 (code B ref 39972); Fri, 22 May 2020 05:59:02 +0000 Original-Received: (at 39972) by debbugs.gnu.org; 22 May 2020 05:58:24 +0000 Original-Received: from localhost ([127.0.0.1]:57889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc0hM-0007Re-9w for submit@debbugs.gnu.org; Fri, 22 May 2020 01:58:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc0hJ-0007RQ-UG for 39972@debbugs.gnu.org; Fri, 22 May 2020 01:58:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58566) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jc0hE-0000OE-08; Fri, 22 May 2020 01:58:16 -0400 Original-Received: from [176.228.60.248] (port=1700 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jc0hC-0001ck-0Y; Fri, 22 May 2020 01:58:14 -0400 In-Reply-To: <20200521201935.GB12036@ACM> (message from Alan Mackenzie on Thu, 21 May 2020 20:19:35 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180736 Archived-At: > Date: Thu, 21 May 2020 20:19:35 +0000 > Cc: p.stephani2@gmail.com, 39972@debbugs.gnu.org > From: Alan Mackenzie > > 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.