From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Crashes with non-default language environments Date: Mon, 11 Feb 2008 11:51:26 -0500 Message-ID: References: <87y79wve9b.fsf@jurta.org> <87zlu96bp2.fsf@jurta.org> <87prv4l96f.fsf@jurta.org> <87lk5scl3a.fsf@catnip.gol.com> <874pcgceu5.fsf@catnip.gol.com> <87fxvzbk0p.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202748725 27608 80.91.229.12 (11 Feb 2008 16:52:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 16:52:05 +0000 (UTC) Cc: Juri Linkov , emacs-pretest-bug@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 17:52:26 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 1JObtE-00061h-HO for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 17:52:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JObsk-00034t-1g for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 11:51:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JObsg-00034g-Ap for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:51:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JObsd-00034P-Sz for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:51:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JObsd-00034M-NF for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:51:43 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JObsc-0005Ei-WE for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:51:43 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JObsX-0006NZ-St for emacs-pretest-bug@gnu.org; Mon, 11 Feb 2008 11:51:38 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JObsS-0005Co-OV for emacs-pretest-bug@gnu.org; Mon, 11 Feb 2008 11:51:35 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JObsS-0005C4-5x; Mon, 11 Feb 2008 11:51:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAFEMsEdMCpK7/2dsb2JhbACodXs X-IronPort-AV: E=Sophos;i="4.25,334,1199682000"; d="scan'208";a="14033075" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 11 Feb 2008 11:51:27 -0500 Original-Received: from pastel.home ([76.10.146.187]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id RSK16427; Mon, 11 Feb 2008 11:51:27 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 7A3DF7F05; Mon, 11 Feb 2008 11:51:26 -0500 (EST) In-Reply-To: <87fxvzbk0p.fsf@catnip.gol.com> (Miles Bader's message of "Tue, 12 Feb 2008 00:16:54 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:88766 gmane.emacs.pretest.bugs:21032 Archived-At: >>> 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] >> >> The problem is that "no encoding" means different things to >> different people. > Ok, perhaps > `vector-to-raw-string-whose-bytes-in-memory-should-have-exactly-the-same-values-as-the-elements-of-this-vector'. Sounds good. The function name may want to be a bit more specific about what happens w.r.t to eight-bit-control and eight-bit-graphic chars as compared to latin-1 chars (in Emacs-22, the former had values between 128 and 255 and the latter had much larger values whereas with the unicode switch the reverse is true IIUC). Stefan