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: [PATCH] Unicode Lisp reader escapes Date: Tue, 02 May 2006 15:43:16 +0900 Message-ID: References: <17491.34779.959316.484740@parhasard.net> 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 1146552221 26341 80.91.229.2 (2 May 2006 06:43:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 06:43:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 02 08:43:39 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Faobh-00025f-J3 for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 08:43:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Faobh-000617-5S for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 02:43:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaobU-000610-P2 for emacs-devel@gnu.org; Tue, 02 May 2006 02:43:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaobS-0005zf-Ro for emacs-devel@gnu.org; Tue, 02 May 2006 02:43:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaobS-0005zc-OU for emacs-devel@gnu.org; Tue, 02 May 2006 02:43:22 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FaobY-0002zm-EX for emacs-devel@gnu.org; Tue, 02 May 2006 02:43:28 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k426hHdn009451; Tue, 2 May 2006 15:43:17 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k426hHvc031215; Tue, 2 May 2006 15:43:17 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FaobM-0005qh-00; Tue, 02 May 2006 15:43:16 +0900 Original-To: Aidan Kehoe In-reply-to: <17491.34779.959316.484740@parhasard.net> (message from Aidan Kehoe on Sat, 29 Apr 2006 17:35:55 +0200) 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:53766 Archived-At: In article <17491.34779.959316.484740@parhasard.net>, Aidan Kehoe writes: [...] > 2006-04-29 Aidan Kehoe > * lread.c (read_escape): > Provide a Unicode character escape syntax; \u followed by exactly > four or \U followed by exactly eight hex digits in a comment or > string is read as a Unicode character with that code point. [...] > + lisp_char = call2(intern("decode-char"), intern("ucs"), > + make_number(i)); > + First of all, is it safe to call Lisp program in read_escape? Don't we have to care about GC and buffer/string-data relocation? --- Kenichi Handa handa@m17n.org