unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 20841@debbugs.gnu.org
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)	[thread overview]
Message-ID: <fee56842-1200-402b-9ca6-c51669eba9e7@default> (raw)
In-Reply-To: <87inyyc1dg.fsf@gnus.org>

> > Subject line says it all.
> 
> 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...
> 
> 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.





  reply	other threads:[~2016-04-30 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  1:25 bug#20841: 25.0.50; Turning off `which-function-mode' does not remove its last effect from the minibuffer Drew Adams
2016-04-30 20:01 ` Lars Ingebrigtsen
2016-04-30 20:41   ` Drew Adams [this message]
2016-05-07 12:44     ` Michael Heerdegen
2016-05-07 12:55       ` Michael Heerdegen
2020-08-31  2:11     ` Stefan Kangas
2020-08-31  2:26       ` Drew Adams
2020-08-31  2:53         ` Stefan Kangas
2020-10-03 22:20           ` Michael Heerdegen
2020-10-04 14:00             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fee56842-1200-402b-9ca6-c51669eba9e7@default \
    --to=drew.adams@oracle.com \
    --cc=20841@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).