From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20841: 25.0.50; Turning off `which-function-mode' does not remove its last effect from the minibuffer Date: Sat, 30 Apr 2016 12:41:24 -0800 (GMT-08:00) Message-ID: References: <4e2a76de-32ee-4031-8fd2-84979f1cbc20@default> <87inyyc1dg.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462048964 27134 80.91.229.3 (30 Apr 2016 20:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2016 20:42:44 +0000 (UTC) Cc: 20841@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 22:42:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awbig-0008Hd-Lu for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 22:42:30 +0200 Original-Received: from localhost ([::1]:59558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awbic-0003iK-K6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 16:42:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awbiT-0003Uq-JY for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 16:42:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awbiH-0008E2-U8 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 16:42:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awbiH-0008Ct-QV for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 16:42:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awbiE-00069g-6p for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 16:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2016 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20841 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20841-submit@debbugs.gnu.org id=B20841.146204889723629 (code B ref 20841); Sat, 30 Apr 2016 20:42:02 +0000 Original-Received: (at 20841) by debbugs.gnu.org; 30 Apr 2016 20:41:37 +0000 Original-Received: from localhost ([127.0.0.1]:58529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awbho-000693-Qo for submit@debbugs.gnu.org; Sat, 30 Apr 2016 16:41:36 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:18144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awbhm-00068p-Kg for 20841@debbugs.gnu.org; Sat, 30 Apr 2016 16:41:35 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3UKfSxh025380 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 20:41:28 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3UKfR3L019870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 20:41:28 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u3UKfPNY000660; Sat, 30 Apr 2016 20:41:27 GMT In-Reply-To: <87inyyc1dg.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117445 Archived-At: > > Subject line says it all. >=20 > I'm unable to reproduce this on the trunk. I see that there have been > changes to the mode in the last year, but skimming the changes, I don't > see anything in the "switch the mode off" path... >=20 > Are you still seeing this? Yes, I'm still seeing it. I turn it off and I still see things like `[Documentation]' and `[???]' in the mode line of existing buffers. When this is true of *Help*, for instance, i.e., it remains in the mode line after I've toggled it off, if I then ask for something else to be displayed in *Help* (e.g. do `C-h f'), then it is removed from the mode line. I see this in my setup, but my setup does nothing with `which-function-mode'. One guess is that the bug might manifest itself only if you have a standalone minibuffer. Another guess might be (since ediff uses a separate control frame (?)) that it is similar to whatever is behind this comment in the code: ;; FIXME: Why does ediff require special support? Another guess is that it might have to do with `mode-line-misc-info'. After I've turned the mode off I see that the value of variable `which-func-mode' remains `t' in buffers, even though the global value has been changed to `nil'. I don't have time to try to debug this. Close it if no one else has the time. I no longer turn the mode on at all, to avoid the annoyance.