From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#54343: 28.0.91; find-function goes to a wrong place for erc Date: Sun, 13 Mar 2022 01:59:13 +0100 Message-ID: <87tuc2vfa6.fsf@gnus.org> References: <87h783ys33.fsf@gnus.org> <87wngyad1h.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8030"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lin Jian , 54343@debbugs.gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 13 02:00:22 2022 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 1nTCaq-0001re-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Mar 2022 02:00:20 +0100 Original-Received: from localhost ([::1]:48132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTCao-0007hD-1l for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 20:00:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTCaY-0007h5-Ma for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 20:00:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTCaY-0001Jo-CK for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 20:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTCaY-0006xG-8K for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 20:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Mar 2022 01:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54343 X-GNU-PR-Package: emacs Original-Received: via spool by 54343-submit@debbugs.gnu.org id=B54343.164713316726661 (code B ref 54343); Sun, 13 Mar 2022 01:00:02 +0000 Original-Received: (at 54343) by debbugs.gnu.org; 13 Mar 2022 00:59:27 +0000 Original-Received: from localhost ([127.0.0.1]:41207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCZz-0006vx-EU for submit@debbugs.gnu.org; Sat, 12 Mar 2022 19:59:27 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:54776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTCZx-0006vk-S5 for 54343@debbugs.gnu.org; Sat, 12 Mar 2022 19:59:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kgEokG8h1rMXH3V34m/eaWQGhu5sbVHm60WTRegFx3g=; b=lNXxbttVCzLF7sz/U3ds5Sm07z oRegEEaInLLyUoIuMSC2GpApE53gDoSuoNi+1d3FKpNDRigo8JiEWgf4xkfD8aHLeILHAR8KMMP1G YBGjJOSAxsvv+0fsDPdhuBwiSpza/sz2nQAXee28UqZL3PLnoSAR7cL1nfR4p8cm1230=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTCZo-0005Oq-J1; Sun, 13 Mar 2022 01:59:18 +0100 In-Reply-To: <87wngyad1h.fsf@neverwas.me> (J. P.'s message of "Sat, 12 Mar 2022 16:53:14 -0800") 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:228271 Archived-At: "J.P." writes: > So, just to summarize the new behavior re generics, if I do > > (find-function 'xref-location-marker) > > it jumps to the first method definition in xref.el, whereas it used to > end up on a defgeneric higher up in the same file, if present. But if > there's no method in the file (as with `xref-backend-definitions', for > example), the behavior remains unchanged. Probably not newsworthy > enough, but just thought I'd state it for the record. Hm... it would be nice if it hit the defgeneric instead. But you can have a defmethod without a defgeneric... > P.S. OK to install #53617 duplicate checks in erc--switch-to-buffer? Skimming that bug report, it's not clear to me what the issue was there? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no