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: Compiling Elisp to a native code with a GCC plugin Date: Sat, 18 Sep 2010 17:58:08 +0200 Message-ID: References: <87bp805ecr.fsf@gmail.com> <87iq26z97e.fsf@uwakimon.sk.tsukuba.ac.jp> <87y6b0yi8o.fsf@uwakimon.sk.tsukuba.ac.jp> <87sk18bioh.fsf@lola.goethe.zz> <87fwx8bhkq.fsf@lola.goethe.zz> <8739t8bepl.fsf@lola.goethe.zz> <87tylo9vou.fsf@lola.goethe.zz> <87pqwc9tnm.fsf@lola.goethe.zz> <87hbhoxkuw.fsf@uwakimon.sk.tsukuba.ac.jp> <83wrqkytp2.fsf@gnu.org> <87eicrxhgg.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284825506 26670 80.91.229.12 (18 Sep 2010 15:58:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 15:58:26 +0000 (UTC) Cc: Eli Zaretskii , dak@gnu.org, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 17:58:25 2010 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.69) (envelope-from ) id 1Owzo0-0000AI-IR for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 17:58:24 +0200 Original-Received: from localhost ([127.0.0.1]:36644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owznz-0004m3-QI for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 11:58:23 -0400 Original-Received: from [140.186.70.92] (port=59347 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owzns-0004kE-IP for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:58:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owznr-0000Va-GO for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:58:16 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:44060) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owznr-0000VM-Bn; Sat, 18 Sep 2010 11:58:15 -0400 Original-Received: from ceviche.home (vpn-132-204-232-141.acd.umontreal.ca [132.204.232.141]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o8IFw9pn027432; Sat, 18 Sep 2010 11:58:10 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 303556623B; Sat, 18 Sep 2010 17:58:08 +0200 (CEST) In-Reply-To: <87eicrxhgg.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sat, 18 Sep 2010 23:19:11 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3625=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130420 Archived-At: >> However, AFAIK Emacs always makes a unibyte string if all the >> characters are pure ASCII. So this does not matter in practice. > That's true in Stefan's personal Emacs, AIUI, but otherwise I bet aset > on a multibyte string can turn it into pure ASCII. Actually, it's not true in my personal branch because I use there some (failed-)experimental code which distinguishes between "unibyte/multibyte/anybyte" where "anybyte" means "could be either" and is used for purely ascii strings (or more specifically, it's used for those strings where the unibyte and multibyte representation are the same). It might have been a good idea, but it seems this is not worth the trouble changing now. So all that's left from this experiment is that when I see problem with multibyte/unibyte I absolutely need to try it with the trunk code, because it may just be a bug in my branch. Stefan