From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: string-as-unibyte Date: Tue, 19 Jul 2005 11:50:52 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1121742789 1530 80.91.229.2 (19 Jul 2005 03:13:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2005 03:13:09 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 19 05:13:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DuiXS-000052-2V for ged-emacs-devel@m.gmane.org; Tue, 19 Jul 2005 05:12:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DuiZP-0008DW-Jr for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2005 23:14:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DuiXd-0007kZ-6Q for emacs-devel@gnu.org; Mon, 18 Jul 2005 23:13:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DuiXW-0007go-GK for emacs-devel@gnu.org; Mon, 18 Jul 2005 23:13:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DuiXU-0007eb-PU for emacs-devel@gnu.org; Mon, 18 Jul 2005 23:13:00 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DuiWd-0001Nu-LK for emacs-devel@gnu.org; Mon, 18 Jul 2005 23:12:08 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j6J2os86014513; Tue, 19 Jul 2005 11:50:54 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j6J2orCq028656; Tue, 19 Jul 2005 11:50:54 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1DuiC4-0008OI-00; Tue, 19 Jul 2005 11:50:52 +0900 Original-To: YAMAMOTO Mitsuharu In-reply-to: (message from YAMAMOTO Mitsuharu on Tue, 19 Jul 2005 08:52:02 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:41059 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41059 In article , YAMAMOTO Mitsuharu writes: > BTW, I noticed that backslashes in the docstring of > string-as-multibyte are stripped off as follows: > If you're not sure, whether to use `string-as-multibyte' or > `string-to-multibyte', use `string-to-multibyte'. Beware: > (aref (string-as-multibyte "201") 0) -> 129 (aka ?201) [...] Thank you for finding this bug. I've just installed a fix. --- Kenichi Handa handa@m17n.org