GNU bug report logs - #74934
30.0.92; Unexpected behavior by which-function-mode in erc-mode buffers

Previous Next

Package: emacs;

Reported by: Anush V <j <at> gnu.org>

Date: Wed, 18 Dec 2024 00:45:01 UTC

Severity: normal

Found in version 30.0.92

Done: "J.P." <jp <at> neverwas.me>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "J.P." <jp <at> neverwas.me>
To: Anush V <j <at> gnu.org>
Cc: emacs-erc <at> gnu.org, 74934 <at> debbugs.gnu.org
Subject: bug#74934: 30.0.92; Unexpected behavior by which-function-mode in erc-mode buffers
Date: Tue, 17 Dec 2024 18:24:02 -0800
[Message part 1 (text/plain, inline)]
Hi Anush,

Appreciate you reporting this.

Anush V <j <at> gnu.org> writes:

> 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.

Thanks,
J.P.

[0001-5.6.1-Disable-which-func-mode-in-erc-imenu-buffers.patch (text/x-patch, attachment)]
[0002-5.6.1-Add-lisp-imenu-generic-expression-for-ERC-hack.patch (text/x-patch, attachment)]

This bug report was last modified 149 days ago.

Previous Next


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