Subject: Re: bug#74934: 30.0.92; Unexpected behavior by which-function-mode in erc-mode buffers
From: "J.P." <[email-masked]>
To: [email-masked]
Cc: Eli Zaretskii <[email-masked]>, [email-masked], [email-masked]
Date: Sun, 22 Dec 2024 11:51:57 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

"J.P." <[email-masked]> writes:

> Eli Zaretskii <[email-masked]> writes:
>
>> Is this for the release branch?  That is, is this a recent regression?
>
> No, this is for Emacs master (and ERC 5.6.1). AFAICT, the bug has been
> with us since at least Emacs 26.3, although "[n/a]" used to be "[???]".

This has been installed as

  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d1c670f0

>
>>
>> And if so, what is the second patch for?
>
> For anyone wondering, the second patch is for contributors working on
> ERC (I will add a news item).

I moved the dev utility to

  test/lisp/erc/resources/erc-tests-common.el

and changed it to only modify the local binding of the variable
`imenu-generic-expression'. Installed as:

  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e9591fae

Thanks and closing.