From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Display of characters #xa0 and #xad in unibyte buffers Date: Tue, 29 Sep 2009 10:05:47 +0900 Message-ID: References: <19131.35568.835627.216245@a1i15.kph.uni-mainz.de> <833a6bv30o.fsf@gnu.org> <19132.34451.565451.857731@a1ihome1.kph.uni-mainz.de> <83ws3ntmgv.fsf@gnu.org> <831vlrsh6q.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254186377 15275 80.91.229.12 (29 Sep 2009 01:06:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2009 01:06:17 +0000 (UTC) Cc: eliz@gnu.org, ulm@gentoo.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 29 03:06:10 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MsRAP-0008IK-W2 for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 03:06:10 +0200 Original-Received: from localhost ([127.0.0.1]:37608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsRAP-0004vg-5C for ged-emacs-devel@m.gmane.org; Mon, 28 Sep 2009 21:06:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsRAL-0004vb-Ar for emacs-devel@gnu.org; Mon, 28 Sep 2009 21:06:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsRAF-0004um-VS for emacs-devel@gnu.org; Mon, 28 Sep 2009 21:06:04 -0400 Original-Received: from [199.232.76.173] (port=53993 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsRAF-0004ui-Sb for emacs-devel@gnu.org; Mon, 28 Sep 2009 21:05:59 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:47949) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MsRAC-00031y-8F; Mon, 28 Sep 2009 21:05:56 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n8T15lkF003665; Tue, 29 Sep 2009 10:05:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n8T15lOn027783; Tue, 29 Sep 2009 10:05:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n8T15lgX003068; Tue, 29 Sep 2009 10:05:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MsRA3-0000M6-8o; Tue, 29 Sep 2009 10:05:47 +0900 In-Reply-To: (message from Stefan Monnier on Mon, 28 Sep 2009 18:38:12 -0400) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115761 Archived-At: In article , Stefan Monnier writes: > > Actually, the interpretation of characters in a unnibyte > > buffer is still inconsistent. For instance, > > skip-syntax-forward treats #x80..#xFF as characters > > U+0080..U+00FF. Thus #xC0 is a word-constituent and #xD7 is > > a symbol. We must fix it somehow. But, how? We currently > > don't have a suitable syntax code for eight-bit chars. > While I agree that treating bytes as if they were latin-1 chars isn't > ideal, I don't think the alternative (treat every byte >=128 as > punctuation, I guess) would really be much better. So there's not much > point "fixing" this "problem". Perhaps we don't have to make much effort on this matter, but if one is, for instance, in Greek lang. env. and working in a unibyte buffer while setting unibyte-display-via-language-environment to t, he sees that (skip-syntax-forward "w") stops at #xD7 which is displayed as "GREEK CAPITAL LETTER CHI (U+3A7)" and will think it's a bug. --- Kenichi Handa handa@m17n.org