GNU bug report logs - #54343
28.0.91; find-function goes to a wrong place for erc

Previous Next

Package: emacs;

Reported by: Lin Jian <jlin.dev <at> outlook.com>

Date: Fri, 11 Mar 2022 20:19:01 UTC

Severity: normal

Found in version 28.0.91

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: "J.P." <jp <at> neverwas.me>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Lin Jian <jlin.dev <at> outlook.com>, 54343 <at> debbugs.gnu.org
Subject: Re: bug#54343: 28.0.91; find-function goes to a wrong place for erc
Date: Sat, 12 Mar 2022 16:53:14 -0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Lin Jian <jlin.dev <at> outlook.com> writes:
>
>> steps to reproduce this bug:
>>
>> step 1: run: emacs -Q
>> step 2: eval (find-function 'erc)
>> step 3: the point goes to the defgroup of erc instead of the cl-defun of
>> it, which I think is wrong
>
> I've now fixed this in Emacs 29.

Fantastic. What you did is much less invasive.

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.

Thanks.

P.S. OK to install #53617 duplicate checks in erc--switch-to-buffer?




This bug report was last modified 3 years and 71 days ago.

Previous Next


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