unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs-24 Hangs When Displaying Unicode #x6c0 (ARABIC HEH WITH YEH ABOVE)
@ 2012-03-06 18:33 Mohsen BANAN
  2012-03-06 19:09 ` Antoine Levitt
  0 siblings, 1 reply; 6+ messages in thread
From: Mohsen BANAN @ 2012-03-06 18:33 UTC (permalink / raw)
  To: emacs-devel



Emacs-24 hangs when displaying unicode #x6c0
(arabic heh with yeh above) -- at least in my
environments. The display hangs but the emacs process
stays alive.

Before trying to reproduce the problem, save all
your buffers.

You can reproduce the problem by eval-ing
    (ucs-insert 1728)

I am not including the actual character; as a whole
lot of people would likely be unhappy if I did.

This problem is reproducible in all my
environments Debian and Ubuntu emacs-24.0.50 through
emacs-24.0.90.4.

I have looked some into this problematic character.

On emacs23, describe-char on that character produces:

    character: (1728, #o3300, #x6c0)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x06C0
           syntax: w 	which means: word
         category: .:Base, b:Arabic
      buffer code: #xDB #x80
        file code: #xDB #x80 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    xft:-unknown-B Compset-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#xC7)

Character code properties: customize what to show
  name: ARABIC LETTER HEH WITH YEH ABOVE
  old-name: ARABIC LETTER HAMZAH ON HA
  general-category: Lo (Letter, Other)
  decomposition: (1749 1620)

According to isiri-6219, in Persian it is a
forbiden character. In other words persian input
methods should not produce this character --
because it can be produced by 1749+1620.

But, Microsoft does produce that character. So, I
have been receiving various emails that were/are
hanging my emacs display. It took a while to
narrow it down to this character.

If this problem is not specific to my
environement, then perhaps we should also look for
other problematic characters.

Perhaps we can have a buffer that contains all
unicode characters and have the display go through it
all as a regression tester.

Please let me know if this problem is reproducible in your
environements.

Thanks.

...Mohsen





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-07 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 18:33 Emacs-24 Hangs When Displaying Unicode #x6c0 (ARABIC HEH WITH YEH ABOVE) Mohsen BANAN
2012-03-06 19:09 ` Antoine Levitt
2012-03-06 21:37   ` Mohsen BANAN
2012-03-07  3:55     ` Eli Zaretskii
2012-03-07 21:10       ` Mohsen BANAN
2012-03-07 21:16         ` Eli Zaretskii

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