From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#3640: I can't see all characters in my files anymore Date: Tue, 23 Jun 2009 10:44:12 +0800 Message-ID: <87ocsfuer6.fsf__2751.16749476201$1245777536$gmane$org@jidanni.org> References: <87prcwf3e5.fsf@stupidchicken.com> Reply-To: jidanni@jidanni.org, 3640@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245777536 9338 80.91.229.12 (23 Jun 2009 17:18:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jun 2009 17:18:56 +0000 (UTC) Cc: emacs-w3m@namazu.org, 3640@emacsbugs.donarmstrong.com To: cyd@stupidchicken.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 23 19:18:48 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJ9dw-0006db-B7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jun 2009 19:18:48 +0200 Original-Received: from localhost ([127.0.0.1]:50906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ9dv-0002ad-FH for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jun 2009 13:18:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJ8ge-0007RJ-RQ for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 12:17:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJ8gZ-0007K5-23 for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 12:17:31 -0400 Original-Received: from [199.232.76.173] (port=58335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ8gY-0007JW-Gv for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 12:17:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56267) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJ8gX-000623-Kq for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2009 12:17:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5NGHMUT031059; Tue, 23 Jun 2009 09:17:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5NG05nM027160; Tue, 23 Jun 2009 09:00:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 23 Jun 2009 16:00:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3640 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: notabug wontfix Original-Received: via spool by 3640-submit@emacsbugs.donarmstrong.com id=B3640.124577251326388 (code B ref 3640); Tue, 23 Jun 2009 16:00:05 +0000 Original-Received: (at 3640) by emacsbugs.donarmstrong.com; 23 Jun 2009 15:55:13 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from homiemail-a5.g.dreamhost.com (balanced.mail.policyd.dreamhost.com [208.97.132.119]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5NFt7Th026314 for <3640@emacsbugs.donarmstrong.com>; Tue, 23 Jun 2009 08:55:08 -0700 Original-Received: from jidanni.org (122-127-32-23.dynamic.hinet.net [122.127.32.23]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id B7B47BC949; Tue, 23 Jun 2009 08:55:05 -0700 (PDT) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n5NGHMUT031059 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 23 Jun 2009 12:17:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28931 Archived-At: OK, I cooked up this workaround in .emacs: ;;Just to see if there are any zero width >=E2=80=8E<, U+200E LEFT-TO-RIG= HT MARK ;;hiding in our files, we do: (global-whitespace-mode 1) (setq whitespace-style '(spaces)) ;;Set neighbor characters on fire in order to see where the ;;"invisible man" is: (setq whitespace-space-regexp "\\(.?\x200E+.?\\)") (put 'whitespace-space-before-tab 'face-alias 'whitespace-space);fire col= or ;;Works except if it is the only char on a line. (In emacs -nw it is ;;width 1, not zero, for me.) What a pain. But then to turn it on in emacs-w3m, (add-hook 'w3m-mode-hook (lambda () (whitespace-mode 1))) But that kills all of emacs-w3m's font-locks. Why can't there be a way to not allow any "invisible man" characters from hiding, like it was in emacs22. Just make them show up as this dotted box like in xterm, so we know something is funny there. Is there some variable that can stop 0 width characters being smuggled around under the users' noses unaware? I mean isn't that what separates us from the MicroSoft users, they don't know what is going on inside their files, but we do -- until now.