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: Wed, 03 May 2006 16:43:37 +0900 Message-ID: References: <17491.34779.959316.484740@parhasard.net> <17495.932.70900.796282@parhasard.net> <17495.57895.90438.848865@parhasard.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146642270 21729 80.91.229.2 (3 May 2006 07:44:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 07:44:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 03 09:44:29 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 1FbC22-0003rV-Of for ged-emacs-devel@m.gmane.org; Wed, 03 May 2006 09:44:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbC22-0008V6-1r for ged-emacs-devel@m.gmane.org; Wed, 03 May 2006 03:44:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbC1T-0008Tr-9i for emacs-devel@gnu.org; Wed, 03 May 2006 03:43:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbC1Q-0008T9-Rb for emacs-devel@gnu.org; Wed, 03 May 2006 03:43:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbC1Q-0008Su-Cj for emacs-devel@gnu.org; Wed, 03 May 2006 03:43:44 -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 1FbC1k-0005pY-5i for emacs-devel@gnu.org; Wed, 03 May 2006 03:44:05 -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 k437hdG6022636; Wed, 3 May 2006 16:43:39 +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 k437hd59030526; Wed, 3 May 2006 16:43:39 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FbC1J-0005fh-00; Wed, 03 May 2006 16:43:37 +0900 Original-To: Aidan Kehoe In-reply-to: <17495.57895.90438.848865@parhasard.net> (message from Aidan Kehoe on Wed, 3 May 2006 00:50:15 +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:53836 Archived-At: In article <17495.57895.90438.848865@parhasard.net>, Aidan Kehoe writes: >> But, if Lisp is called even if readcharfun is a string, I think we should >> GCPRO it. Is it already done? (Sorry, I don't have a time to check >> lread.c by myself) > I=E2=80=99m reasonably sure it=E2=80=99s already done in the callers of r= ead1, but I don=E2=80=99t > have graphing software to hand, and the English for the reasoning I=E2=80= =99ve > written out is unreadably tedious. So, sure, GCPROing seems worth the tim= e.=20 > Do you mean to GCPRO independent of what type readcharfun is?=20 I have not yet considered in deep what should we GCPRO and where to do that. But, as I replied to Eli's mail, I now think that implementing decode-char in C is better provided that it is decided to handle \u.... in read_escape. --- Kenichi Handa handa@m17n.org