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: How and when to use GCPRO? Date: Mon, 27 Dec 2010 11:00:42 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293465662 16651 80.91.229.12 (27 Dec 2010 16:01:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2010 16:01:02 +0000 (UTC) Cc: Leo , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 27 17:00:58 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 1PXFVJ-0007gA-BN for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2010 17:00:57 +0100 Original-Received: from localhost ([127.0.0.1]:52063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXFVI-0006XI-Sy for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2010 11:00:56 -0500 Original-Received: from [140.186.70.92] (port=57878 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXFVA-0006WK-8u for emacs-devel@gnu.org; Mon, 27 Dec 2010 11:00:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PXFV6-000881-Kx for emacs-devel@gnu.org; Mon, 27 Dec 2010 11:00:48 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54755 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PXFV6-00087e-DM for emacs-devel@gnu.org; Mon, 27 Dec 2010 11:00:44 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAJNGGE3O+LP+/2dsb2JhbACkPnS+R4VKBIRljhs X-IronPort-AV: E=Sophos;i="4.60,234,1291611600"; d="scan'208";a="86562968" Original-Received: from 206-248-179-254.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.254]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Dec 2010 11:00:43 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id EE60D58B89; Mon, 27 Dec 2010 11:00:42 -0500 (EST) In-Reply-To: (Andreas Schwab's message of "Mon, 27 Dec 2010 11:15:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:133984 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. Actually, both Fcar and Fcdr can GC (by signalling an error which triggers the debugger). Stefan "wondering why eval_feature_expression would need to be written in C rather than in Elisp"