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: Unibyte characters, strings, and buffers Date: Fri, 28 Mar 2014 16:27:49 -0400 Message-ID: References: <831txozsqa.fsf@gnu.org> <83ppl7y30l.fsf@gnu.org> <87r45nouvx.fsf@uwakimon.sk.tsukuba.ac.jp> <8361myyac6.fsf@gnu.org> <87a9capqfr.fsf@uwakimon.sk.tsukuba.ac.jp> <83eh1mfd09.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396038514 29764 80.91.229.3 (28 Mar 2014 20:28:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2014 20:28:34 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 28 21:28:43 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTdOM-0006wc-FX for ged-emacs-devel@m.gmane.org; Fri, 28 Mar 2014 21:28:42 +0100 Original-Received: from localhost ([::1]:35804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTdOM-0008Kx-2i for ged-emacs-devel@m.gmane.org; Fri, 28 Mar 2014 16:28:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTdOA-0008KX-T5 for emacs-devel@gnu.org; Fri, 28 Mar 2014 16:28:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTdO2-0001ot-Ly for emacs-devel@gnu.org; Fri, 28 Mar 2014 16:28:30 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:60283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTdNu-0001mu-0N; Fri, 28 Mar 2014 16:28:14 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A932284DE5; Fri, 28 Mar 2014 16:28:13 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 986871E5B74; Fri, 28 Mar 2014 16:27:49 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 774A9B40B7; Fri, 28 Mar 2014 16:27:49 -0400 (EDT) In-Reply-To: <83eh1mfd09.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Mar 2014 20:29:10 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171104 Archived-At: >> Again, I disagree. Unibyte is a design mistake, and unnecessary. > Then what do you call a buffer whose "text" is encoded? I think they call it "a buffer" ;-) More seriously, IIUC they represent bytes 0..7F as ASCII (like we do) and 80..FF as latin-1-ish chars (i.e. occupying two bytes in the internal representation, IIRC). Stefan