From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.bugs Subject: bug#11333: Whitespace mode says it's enabled, when it's really not Date: Tue, 24 Apr 2012 13:01:57 -0700 (PDT) Message-ID: <1335297717.99228.YahooMailClassic@web121506.mail.ne1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1335297805 3908 80.91.229.3 (24 Apr 2012 20:03:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 20:03:25 +0000 (UTC) To: 11333@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 22:03:24 2012 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 1SMlxK-00080m-Px for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 22:03:23 +0200 Original-Received: from localhost ([::1]:54163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlxK-0001CJ-8I for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 16:03:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlxH-0001Bi-EJ for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:03:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMlxC-0006V6-Gq for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:03:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlxC-0006Uo-Ay for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:03:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMlxy-0006Wz-A8 for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kelly Dean Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2012 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11333 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133529778625032 (code B ref -1); Tue, 24 Apr 2012 20:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Apr 2012 20:03:06 +0000 Original-Received: from localhost ([127.0.0.1]:51135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMlx3-0006Vh-71 for submit@debbugs.gnu.org; Tue, 24 Apr 2012 16:03:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53913) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMlx0-0006VC-J6 for submit@debbugs.gnu.org; Tue, 24 Apr 2012 16:03:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMlw4-0006LK-01 for submit@debbugs.gnu.org; Tue, 24 Apr 2012 16:02:08 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:45174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlw3-0006LG-Qm for submit@debbugs.gnu.org; Tue, 24 Apr 2012 16:02:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlw2-0000lQ-0p for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:02:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMlw0-0006Kb-4t for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:02:01 -0400 Original-Received: from nm33-vm7.bullet.mail.ne1.yahoo.com ([98.138.229.71]:32222) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SMlvz-0006KF-QY for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:02:00 -0400 Original-Received: from [98.138.90.54] by nm33.bullet.mail.ne1.yahoo.com with NNFMP; 24 Apr 2012 20:01:58 -0000 Original-Received: from [98.138.87.12] by tm7.bullet.mail.ne1.yahoo.com with NNFMP; 24 Apr 2012 20:01:58 -0000 Original-Received: from [127.0.0.1] by omp1012.mail.ne1.yahoo.com with NNFMP; 24 Apr 2012 20:01:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 93483.9953.bm@omp1012.mail.ne1.yahoo.com Original-Received: (qmail 30061 invoked by uid 60001); 24 Apr 2012 20:01:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335297718; bh=1a2LIfgwxD7MeUq1JuUT0O6Iiszq/3EqWWV62dX9Nw8=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=CwHDJLK9y1MUVkHdU3XOuA3yPXS7vY1fbiezHjBxmjzA3M9c4rx/iayxsdoJCI4TAxdpvH67Qj3pk9crHvdLCVkph5KmCdbvt95haBRzZSaqv6/5oMyMLFIV+unik8ox1hjPnilxTghHhis6/x1DRYwFKvFiPWVQOz0tK0h0Xo0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=WwPEvPDAmTwS6a0pTqV42wGm0sg0vl4MbmjqS7jNwsebth+za7yyf2DgDPzitozr5tCqa0Ne2+pC+5GZZyWFqJI+dLcZ6jHrbRVCkdJE7mESvZHTBtmwrYTQRG3ISZMPOVZEa80P6hGb7NJQJQ3ag+b3lJIbSGRMfdURf9ehxMA=; X-YMail-OSG: l.tJmJ0VM1nxJ_VsYhbCXprM70KL5pxN1_hVBF.OkZKY9kf aWdjlj32dwWdh4ZijlMfcmPOS_l2Bq15Q6SaOyaIDXzLwDKOEjZ.YPcOUu93 BqyV2jpDH_hSgJrcqxSZ.nhbdqzVusYPjRcbtjK0kdd21adoci8qTgPHU6i7 2vuuV4Fuq7N6H0aQ2j2wQuGh9EhkSttMSZzEbJj70MAp7WxRn0fqXeQ2dZZk zIhRCdgirluWmec6KhMCaNGpX5.iBP2dWNbGc4CYZf72YSUOIsTXDhJSiHK8 25DlW0XvyumxbjZJgnWYywALIylL0Oc3UuA79d8Im8KaZrhzfU5ru0_ljS1p QLwoZg6x_XkRp6TNRPMIRKzjz1FJGvoYxa72W3FkOp9.jguDy6dtgj1MBpIX Iirc- Original-Received: from [199.48.147.39] by web121506.mail.ne1.yahoo.com via HTTP; Tue, 24 Apr 2012 13:01:57 PDT X-Mailer: YahooMailClassic/15.0.6 YahooMailWebService/0.8.117.340979 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59466 Archived-At: 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.