From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: How and when to use GCPRO? Date: Mon, 27 Dec 2010 11:15:36 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1293444960 29432 80.91.229.12 (27 Dec 2010 10:16:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2010 10:16:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 27 11:15:55 2010 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.69) (envelope-from ) id 1PXA7N-0007af-2g for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2010 11:15:53 +0100 Original-Received: from localhost ([127.0.0.1]:34342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXA7M-0002YN-3h for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2010 05:15:52 -0500 Original-Received: from [140.186.70.92] (port=41052 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXA7E-0002YA-4d for emacs-devel@gnu.org; Mon, 27 Dec 2010 05:15:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PXA7D-0004Hy-64 for emacs-devel@gnu.org; Mon, 27 Dec 2010 05:15:44 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:54093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PXA7D-0004F3-11 for emacs-devel@gnu.org; Mon, 27 Dec 2010 05:15:43 -0500 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id BC8091C1D9E7; Mon, 27 Dec 2010 11:15:39 +0100 (CET) X-Auth-Info: m59Y0hZe/2GwXb1E1OyS07d4lZnHvrt9yP5pvqQkCKg= Original-Received: from linux.local (p508B54ED.dip.t-dialin.net [80.139.84.237]) by mail.mnet-online.de (Postfix) with ESMTPA id A9DAB1C00088; Mon, 27 Dec 2010 11:15:39 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id 5A66E1E52EC; Mon, 27 Dec 2010 11:15:36 +0100 (CET) X-Yow: I joined scientology at a garage sale!! In-Reply-To: (Leo's message of "Mon, 27 Dec 2010 09:21:54 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/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:133979 Archived-At: Whenever you call a function that can GC and you are using a reference to a Lisp object around that call. None of the functions you call in your example can GC. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."