all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kelly Dean <kellydeanch@yahoo.com>
To: 11333@debbugs.gnu.org
Subject: bug#11333: Whitespace mode says it's enabled, when it's really not
Date: Tue, 24 Apr 2012 13:01:57 -0700 (PDT)	[thread overview]
Message-ID: <1335297717.99228.YahooMailClassic@web121506.mail.ne1.yahoo.com> (raw)

I'm using Emacs on X on Debian 6 Stable. emacs-version says GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian.
Steps to reproduce the bug:
Put in your init file just (global-whitespace-mode 1). Start Emacs.
Switch to the scratch buffer. The modeline says "Lisp Interaction WS". Type some whitespace which whitespace mode would highlight. Notice that it isn't highlighted. Do M-x global-whitespace-mode twice, to toggle it off and back on. Notice that the whitespace is now highlighted.
Make a new buffer. In the modeline it says "Fundamental WS". Type some whitespace. Same problem.
I'm told that in fundamental mode, Emacs intentionally doesn't enable global minor modes, because doing so would break things, which explains why it's initially disabled in your new buffer (though it doesn't explain why it's disabled in the scratch buffer, which isn't in fundamental mode). But if whitespace mode isn't enabled for a particular buffer, then putting "WS" in the modeline for that buffer is deceptive. It shouldn't do it.






             reply	other threads:[~2012-04-24 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24 20:01 Kelly Dean [this message]
2012-04-25  3:02 ` bug#11333: Whitespace mode says it's enabled, when it's really not Chong Yidong
2012-06-02 21:56 ` Kelly Dean
2017-04-28 22:01 ` Bartosz Duszel
2017-04-29  2:43   ` npostavs

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

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

  git send-email \
    --in-reply-to=1335297717.99228.YahooMailClassic@web121506.mail.ne1.yahoo.com \
    --to=kellydeanch@yahoo.com \
    --cc=11333@debbugs.gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.