From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Crashes with non-default language environments Date: Mon, 11 Feb 2008 13:11:14 +0900 Message-ID: <874pcgceu5.fsf@catnip.gol.com> References: <87y79wve9b.fsf@jurta.org> <87zlu96bp2.fsf@jurta.org> <87prv4l96f.fsf@jurta.org> <87lk5scl3a.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202703098 13731 80.91.229.12 (11 Feb 2008 04:11:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 04:11:38 +0000 (UTC) Cc: Juri Linkov , emacs-pretest-bug@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 05:12:00 2008 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 1JOQ1O-0003RH-6P for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 05:11:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOQ0u-00047N-Uv for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2008 23:11:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOQ0q-00047I-J3 for emacs-devel@gnu.org; Sun, 10 Feb 2008 23:11:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOQ0p-000476-3e for emacs-devel@gnu.org; Sun, 10 Feb 2008 23:11:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOQ0o-000473-Sf for emacs-devel@gnu.org; Sun, 10 Feb 2008 23:11:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOQ0o-00052j-MK for emacs-devel@gnu.org; Sun, 10 Feb 2008 23:11:22 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JOQ0o-0000NX-EN for emacs-pretest-bug@gnu.org; Sun, 10 Feb 2008 23:11:22 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JOQ0l-00052L-AS for emacs-pretest-bug@gnu.org; Sun, 10 Feb 2008 23:11:22 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JOQ0k-00051j-O5; Sun, 10 Feb 2008 23:11:19 -0500 Original-Received: from 203-216-97-023.dsl.gol.ne.jp ([203.216.97.23] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1JOQ0i-00005n-5W; Mon, 11 Feb 2008 13:11:16 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id D81832FF7; Mon, 11 Feb 2008 13:11:14 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Stefan Monnier's message of "Sun, 10 Feb 2008 22:02:00 -0500") Original-Lines: 22 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: 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:88718 gmane.emacs.pretest.bugs:21018 Archived-At: Stefan Monnier writes: >>> Of course, string-AS-unibyte is the worst of all three. But nobody >>> suggested to use that one. I just suggested to replace >>> string-MAKE-uniybte by string-TO-unibyte. > >> Where's this string-to-unibyte function? My emacs doesn't have it... > > Oh, that's right, we still don't have it. We only have the 3 variants > on the uni->multi, but not on the multi->uni. > I guess now is a good time to introduce it. I find the names of all these function incredibly confusing though... What's really wanted here, is something like vector-to-raw-string-dont-you-dare-do-any-encoding, right? [As the bytecode engine wants raw bytes with the same numbers, which just happened to be inside a string] -Miles -- Politeness, n. The most acceptable hypocrisy.