unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: jidanni@jidanni.org
Cc: 6860@debbugs.gnu.org
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	[thread overview]
Message-ID: <E1OkcoP-0006eS-60@fencepost.gnu.org> (raw)
In-Reply-To: <87sk2gz1nj.fsf@jidanni.org>

> 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.





  reply	other threads:[~2010-08-15 12:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15  9:05 bug#6860: allow user to see harbored smuggled fugitive LEFT-TO-RIGHT MARK hiding in his files jidanni
2010-08-15 12:59 ` Eli Zaretskii [this message]
2010-08-15 23:54 ` jidanni

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=E1OkcoP-0006eS-60@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=6860@debbugs.gnu.org \
    --cc=jidanni@jidanni.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).