From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Mon, 08 May 2006 09:55:47 -0400 Message-ID: References: <17491.34779.959316.484740@parhasard.net> <17495.932.70900.796282@parhasard.net> <17495.57895.90438.848865@parhasard.net> <17498.28361.392872.954484@parhasard.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147096583 3162 80.91.229.2 (8 May 2006 13:56:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 13:56:23 +0000 (UTC) Cc: Aidan Kehoe , schwab@suse.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 08 15:56:20 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 1Fd6Da-0002BW-4f for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 15:56:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd6DZ-00012K-Oa for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 09:56:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fd6DO-00012D-EU for emacs-devel@gnu.org; Mon, 08 May 2006 09:55:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fd6DK-000120-VZ for emacs-devel@gnu.org; Mon, 08 May 2006 09:55:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd6DK-00011x-Q6 for emacs-devel@gnu.org; Mon, 08 May 2006 09:55:54 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fd6EB-0003Bt-3a for emacs-devel@gnu.org; Mon, 08 May 2006 09:56:47 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 04DBA2CF48C; Mon, 8 May 2006 09:55:54 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 76FA9452A; Mon, 8 May 2006 09:55:47 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 5F4F171589; Mon, 8 May 2006 09:55:47 -0400 (EDT) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Mon, 08 May 2006 10:31:20 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:54090 Archived-At: > For instance, Fread is called from Fcall_interactively as > below: > Lisp_Object tem; > [...] > tem = Fread_from_minibuffer (build_string (callint_message), > Qnil, Qnil, Qnil, Qnil, Qnil, > Qnil, Qnil); > if (! STRINGP (tem) || SCHARS (tem) == 0) > args[i] = Qnil; > else > args[i] = Fread (tem); > In the calling sequence of > Fread-> read_internal_start->read0->read1, I see no place > where the original `tem' is GCPROed. Do I overlook > something? Why would it need to be protected? it's not used afterwards. Stefan