From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Displaying bytes Date: Tue, 24 Nov 2009 21:18:31 -0500 Message-ID: References: <20091119082040.GA1720@muc.de> <874ooq8xay.fsf@wanchan.jasonrumney.net> <20091119141852.GC1720@muc.de> <20091119155848.GB1314@muc.de> <87aayiihe9.fsf@lola.goethe.zz> <20091119180848.GE1314@muc.de> <47325.130.55.118.19.1258658705.squirrel@webmail.lanl.gov> <20091119212550.GG1314@muc.de> <87my2ign8u.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259115535 25268 80.91.229.12 (25 Nov 2009 02:18:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 02:18:55 +0000 (UTC) Cc: dak@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 25 03:18:48 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 1ND7Sx-0002OC-E2 for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2009 03:18:47 +0100 Original-Received: from localhost ([127.0.0.1]:48693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND7Sw-0002EL-IA for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2009 21:18:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ND7Sr-0002DU-7v for emacs-devel@gnu.org; Tue, 24 Nov 2009 21:18:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ND7Sm-0002AF-Le for emacs-devel@gnu.org; Tue, 24 Nov 2009 21:18:40 -0500 Original-Received: from [199.232.76.173] (port=34931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND7Sm-0002AA-Iq for emacs-devel@gnu.org; Tue, 24 Nov 2009 21:18:36 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:16640 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ND7Sj-0003fZ-3o; Tue, 24 Nov 2009 21:18:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAKoiDEtFpYc//2dsb2JhbACBTNRNhDkEgXCIGQ X-IronPort-AV: E=Sophos;i="4.47,282,1257138000"; d="scan'208";a="49966163" Original-Received: from 69-165-135-63.dsl.teksavvy.com (HELO ceviche.home) ([69.165.135.63]) by ironport2-out.pppoe.ca with ESMTP; 24 Nov 2009 21:18:32 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 12D62B40D8; Tue, 24 Nov 2009 21:18:31 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Tue, 24 Nov 2009 17:47:09 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:117723 Archived-At: > I don't know you see this "tis620" stuff. > How strange this discrepancy. I have a few changes that are not > installed, but not in anything relevant here. I last updated > source code on Nov 18. Oh wait, I now see: you get `tis620' for chars between 128 ans 160 (i.e. eight-bit-control), and `eight-bit' for chars between 160 and 256. > Here's what apparently defines that character set, in mule-conf.el: > (define-charset 'tis620-2533 > "TIS620.2533" > :short-name "TIS620.2533" > :ascii-compatible-p t > :code-space [0 255] > :superset '(ascii eight-bit-control (thai-tis620 . 128))) Looks like the eight-bit-control here is part of the problem. > Anyway, please don't overlook the other suggestions in my message > for how to make things clearer. Of course. >> What are the situations where a user is likely to see these stray >> bytes. > There pretty much shouldn't be any in multibyte buffers. > Would it be good to ask people to send bug reports when these > stray byte characters appear in multibyte buffers? No, these chars can appear in cases where Emacs does the right thing. I.e. sometimes they reflect bugs, but often they just reflect "pilot errors" or corrupted data completely outside the control of Emacs. Stefan