From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74934: 30.0.92; Unexpected behavior by which-function-mode in erc-mode buffers Date: Wed, 18 Dec 2024 15:43:40 +0200 Message-ID: <86jzbxm7hv.fsf__36342.9500999459$1734529688$gmane$org@gnu.org> References: <87y10des6w.fsf@gnu.org> <87seqlhgot.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-erc@gnu.org, 74934@debbugs.gnu.org, j@gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 18 14:48:02 2024 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 1tNuPB-0003Xe-Sj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Dec 2024 14:48:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNuOW-0007h8-1P; Wed, 18 Dec 2024 08:47:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNuOF-0007Me-Rh for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 08:47:09 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNuOF-00079W-5B for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 08:47:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=GqfpCVy1vM1Xfx6o4PtcNUiqFY4wrYYkXr0+ij1QAE4=; b=J8FEkmhLZLjiwVqn6jLahcEb2cPaFuct9x7HLy8vd6JCT9KX8do5LURBLGwh3ih48YH6Uhe9e+w/XTbUUaRxK6pFp+1AaZBOHHn3IBKf+7Z5BUIOUsB0GOYfnSb4eG8B2m0qqINi+gvtzb7rh2t4BALebOhr32WX7+ICCLmuzZnUhdY2+3uMdFwV+HIorvBQAGleRfIRZlSW4qzijV3J9pK5dqiFrOWLb0YI7olpqkyJYDq9M9bs+uI0NrB8rxbVzNxP8uB08lmgd+ArHDazCno86QkAUck3g5KaheqVfrX8RNwfnbgGr7bs+uqNhnbzGBDP41GpuCibywuPPmMQdQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNuOE-0004Ip-Jq for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 08:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Dec 2024 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74934 X-GNU-PR-Package: emacs Original-Received: via spool by 74934-submit@debbugs.gnu.org id=B74934.173452958616468 (code B ref 74934); Wed, 18 Dec 2024 13:47:02 +0000 Original-Received: (at 74934) by debbugs.gnu.org; 18 Dec 2024 13:46:26 +0000 Original-Received: from localhost ([127.0.0.1]:33943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNuNQ-0004HD-L1 for submit@debbugs.gnu.org; Wed, 18 Dec 2024 08:46:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNuNH-0004GQ-PA for 74934@debbugs.gnu.org; Wed, 18 Dec 2024 08:46:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNuL6-0005lF-8d; Wed, 18 Dec 2024 08:43:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GqfpCVy1vM1Xfx6o4PtcNUiqFY4wrYYkXr0+ij1QAE4=; b=W3QdtpnyAqxfnWXDYzoS uGj3FOJnePU+6Ehr0CqY0LK15veA4+OlHa1Gn7+p3atlrx8Ph107nCJEbxRJyGl/+betFAod5A0Ab 2an0STKZMy4pVM8VClPu2qTjraWEZtJb1B2GpTYsCVIeiOueBZ4mfoRU5BQP9QHAwkojmHaxl2EEB 2KL+pzCQi0pYzmsgC1jBQePcxf12+yssGIsSQLi0KNPHMsV0iOLa7NMhDtzkA7qE73JFpTKnH0AQb AULznxsqNrKf2wewq5wYSdae7hZdgEcKLf4rgqW1OGamBdhrO1LyHX8jzdQvcrx9EEW2dndxg0x8X RA/ZvmRNleYFdg==; In-Reply-To: <87seqlhgot.fsf@neverwas.me> (jp@neverwas.me) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297335 Archived-At: > Cc: emacs-erc@gnu.org, 74934@debbugs.gnu.org > From: "J.P." > Date: Tue, 17 Dec 2024 18:24:02 -0800 > > > steps to reproduce: > > emacs --no-init > > M-x erc > > ;; join some channel. > > M-x which-function-mode > > > > Current behavior: > > In erc buffers, which-function-mode displays either "[n/a]" or a string based on > > the chat history in the mode line. > > FTR, I'm able to reproduce it. > > > Expected behavior: > > which-function-mode shouldn’t be adding any string to mode line in erc buffers > > The first of the attached patches should hopefully address the issue. Is this for the release branch? That is, is this a recent regression? And if so, what is the second patch for? Thanks.