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#3452: 23.0.94; display Date: Sun, 07 Jun 2009 05:16:05 -0400 Message-ID: References: <877hzoogc1.fsf@cyd.mit.edu> Reply-To: Eli Zaretskii , 3452@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1244367459 23818 80.91.229.12 (7 Jun 2009 09:37:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2009 09:37:39 +0000 (UTC) To: Chong Yidong , 3452@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 11:37:35 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 1MDEoo-0005wS-Ce for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 11:37:35 +0200 Original-Received: from localhost ([127.0.0.1]:41677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDEon-0000Lu-Ez for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 05:37:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDEoh-0000J5-6V for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2009 05:37:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDEoc-0000AL-57 for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2009 05:37:26 -0400 Original-Received: from [199.232.76.173] (port=46800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDEob-00009u-U4 for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2009 05:37:22 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34589) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MDEob-00034o-6c for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2009 05:37:21 -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 n579bJs9011207; Sun, 7 Jun 2009 02:37:19 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n579K4aw007430; Sun, 7 Jun 2009 02:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Jun 2009 09:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3452 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3452-submit@emacsbugs.donarmstrong.com id=B3452.12443661727048 (code B ref 3452); Sun, 07 Jun 2009 09:20:03 +0000 Original-Received: (at 3452) by emacsbugs.donarmstrong.com; 7 Jun 2009 09:16:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n579G8gV007040 for <3452@emacsbugs.donarmstrong.com>; Sun, 7 Jun 2009 02:16:09 -0700 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MDEU1-0004sV-3H; Sun, 07 Jun 2009 05:16:05 -0400 In-reply-to: <877hzoogc1.fsf@cyd.mit.edu> (message from Chong Yidong on Sat, 06 Jun 2009 23:47:26 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 07 Jun 2009 05:37:26 -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:28536 Archived-At: > From: Chong Yidong > Date: Sat, 06 Jun 2009 23:47:26 -0400 > Cc: 3452@emacsbugs.donarmstrong.com > Reply-To: Chong Yidong , 3452@emacsbugs.donarmstrong.com > > Sure enough, if I do > > (aset char-width-table #x202d 1) > > then the screen corruption goes away. > > Maybe we should reconsider setting these characters to have zero-width > for char-width-table in characters.el, since fill-gstring-body seems to > handle zero-width compositions poorly. WDYT? I think it would be a bad idea to set these characters to anything but zero width. These characters are not supposed to be displayed at all, they have no meaningful glyphs to show them. They are just directives to the bidirectional display engines about how to convert logical order of characters to visual order. Not to mention the fact that the Unicode standard explicitly calls them zero-width. We should find a different way to handle this problem. Btw, I don't understand how these characters are related to compositions. They should not be composed with anything, they always stand for themselves.