From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6860: allow user to see harbored smuggled fugitive LEFT-TO-RIGHT MARK hiding in his files Date: Sun, 15 Aug 2010 08:59:41 -0400 Message-ID: References: <87sk2gz1nj.fsf@jidanni.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1281877738 26007 80.91.229.12 (15 Aug 2010 13:08:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 13:08:58 +0000 (UTC) Cc: 6860@debbugs.gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 15 15:08:57 2010 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.69) (envelope-from ) id 1OkcxJ-0005Fl-DB for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Aug 2010 15:08:53 +0200 Original-Received: from localhost ([127.0.0.1]:58072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkcxI-0005DD-Mg for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Aug 2010 09:08:52 -0400 Original-Received: from [140.186.70.92] (port=56622 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkcxC-0005D8-TN for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2010 09:08:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkcxB-0005pC-Fl for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2010 09:08:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34167) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkcxB-0005p8-Dj for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2010 09:08:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Okcnl-0002IA-Vz; Sun, 15 Aug 2010 08:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Aug 2010 12:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6860-submit@debbugs.gnu.org id=B6860.12818771278804 (code B ref 6860); Sun, 15 Aug 2010 12:59:01 +0000 Original-Received: (at 6860) by debbugs.gnu.org; 15 Aug 2010 12:58:47 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkcnW-0002Hx-NA for submit@debbugs.gnu.org; Sun, 15 Aug 2010 08:58:47 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkcnU-0002Hs-NL for 6860@debbugs.gnu.org; Sun, 15 Aug 2010 08:58:45 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OkcoP-0006eS-60; Sun, 15 Aug 2010 08:59:41 -0400 In-reply-to: <87sk2gz1nj.fsf@jidanni.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 15 Aug 2010 08:59:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:39504 Archived-At: > From: jidanni@jidanni.org > Date: Sun, 15 Aug 2010 17:05:36 +0800 > Cc: > > Another half day delay to my project due to some stupid > > character: ‎ (8206, #o20016, #x200e) > preferred charset: unicode (Unicode (ISO10646)) > code point: 0x200E > name: LEFT-TO-RIGHT MARK > > And &%$#@ emacs cooperating with it to keep it hidden. > > So how do I get it to show up? Why do you care about this character more than you do about any others? What is so special about it that's worth half a day of your time, and give birth to such emotions? Anyway, characters such as LRM should be automatically composed with the character that follows them, and then they will be invisible. But the necessary infrastructure in Emacs is not yet ready, so for now they look like blanks. This should be solved before Emacs 24 is released. > Use the whitespace.el stuff. whitespace.el does not yet support this and other similar characters (such as ZWJ). Plan is to add them to whitespace.el, so you should be able to use it to reveal these formatting codes, even when they are auto-composed as described above. > All I want to do is make that D*MN LEFT-TO-RIGHT MARK character show up, > without making a whole lot of other **** show up. To make it show up, or just to find it? For the latter, you could just search for it. > OK, so be it. So how to make LEFT-TO-RIGHT MARK visible, without a whole > lot of other side effects? You could use the display tables for that. For example: (aset standard-display-table ?‎ (vconcat ">")) This will show the LRM as '>'. You can use fancier characters in the same manner, of course. > Well there is this three byte big piece of s*it hiding > in my files with emacs in cahoots with the ethno-backwards writing > conspiracy to keep it hidden, with middle-east funding surely! These characters are there for a reason. Without them, display of bidirectional text will be incorrect, sometimes entirely illegible.