From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Display of characters #xa0 and #xad in unibyte buffers Date: Fri, 25 Sep 2009 12:14:40 +0300 Message-ID: <83ws3ntmgv.fsf@gnu.org> References: <19131.35568.835627.216245@a1i15.kph.uni-mainz.de> <833a6bv30o.fsf@gnu.org> <19132.34451.565451.857731@a1ihome1.kph.uni-mainz.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1253870229 31173 80.91.229.12 (25 Sep 2009 09:17:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2009 09:17:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 25 11:17:02 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 1Mr6vE-0001lJ-DT for ged-emacs-devel@m.gmane.org; Fri, 25 Sep 2009 11:17:00 +0200 Original-Received: from localhost ([127.0.0.1]:48032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr6vC-0003rv-Ql for ged-emacs-devel@m.gmane.org; Fri, 25 Sep 2009 05:16:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr6v3-0003re-VD for emacs-devel@gnu.org; Fri, 25 Sep 2009 05:16:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr6v2-0003rS-O4 for emacs-devel@gnu.org; Fri, 25 Sep 2009 05:16:49 -0400 Original-Received: from [199.232.76.173] (port=38682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr6v2-0003rP-Dd for emacs-devel@gnu.org; Fri, 25 Sep 2009 05:16:48 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:36567) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mr6v2-0001lG-2k for emacs-devel@gnu.org; Fri, 25 Sep 2009 05:16:48 -0400 Original-Received: from mtaout7.012.net.il ([84.95.2.19]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mr6v1-0000Os-9d for emacs-devel@gnu.org; Fri, 25 Sep 2009 05:16:47 -0400 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KQI00J00SCR5H00@i-mtaout7.012.net.il> for emacs-devel@gnu.org; Fri, 25 Sep 2009 12:16:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.70.48.81]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KQI00IOPSFPAU00@i-mtaout7.012.net.il>; Fri, 25 Sep 2009 12:16:37 +0300 (IDT) In-reply-to: <19132.34451.565451.857731@a1ihome1.kph.uni-mainz.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by mx20.gnu.org: Solaris 10 (1203?) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:115607 Archived-At: > Date: Fri, 25 Sep 2009 11:00:03 +0200 > Cc: emacs-devel@gnu.org > From: Ulrich Mueller > > >>>>> On Fri, 25 Sep 2009, Eli Zaretskii wrote: > > >> $ emacs -Q > >> M-x toggle-enable-multibyte-characters RET C-q 240 RET C-q 255 RET > >> > >> The characters are displayed as "_-" (approximately). > >> > >> Shouldn't they be displayed as "\240\255", considering that these are > >> raw bytes with no specific meaning? > > > There are no ``raw bytes'' in a unibyte buffer. Every byte there is > > interpreted as a character, and shown as such. This is the main > > feature of unibyte buffers; otherwise, who'd want them? > > Different question then: Why are all other characters in the range from > #x80 to #xff shown in the backslash-escaped notation, #xa0 and #xad > being the only exceptions? I don't know, but it sounds like a bug. Or maybe what I wrote above is just my pipe dream, not the reality. Handa-san, can you please comment on this?