From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: typo in guile doc? Date: Sun, 27 Dec 2009 12:24:10 +0100 Message-ID: <87skawhd7p.fsf@ambire.localdomain> References: <20091226232250.GA4209@lars-x200s.resnet.ust.hk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261913204 13820 80.91.229.12 (27 Dec 2009 11:26:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 11:26:44 +0000 (UTC) Cc: guile-user To: Chengqi Song Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 27 12:26:36 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NOrGe-0002Xq-Cp for guile-user@m.gmane.org; Sun, 27 Dec 2009 12:26:36 +0100 Original-Received: from localhost ([127.0.0.1]:39928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOrGe-0005YI-ER for guile-user@m.gmane.org; Sun, 27 Dec 2009 06:26:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOrGb-0005Xx-6c for guile-user@gnu.org; Sun, 27 Dec 2009 06:26:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOrGX-0005XT-4a for guile-user@gnu.org; Sun, 27 Dec 2009 06:26:32 -0500 Original-Received: from [199.232.76.173] (port=41104 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOrGW-0005XI-VI for guile-user@gnu.org; Sun, 27 Dec 2009 06:26:28 -0500 Original-Received: from smtp-out13.alice.it ([85.33.2.18]:2556) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NOrGW-0004mw-DX for guile-user@gnu.org; Sun, 27 Dec 2009 06:26:28 -0500 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-out13.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Sun, 27 Dec 2009 12:26:27 +0100 Original-Received: from FBCMCL01B06.fbc.local ([192.168.69.87]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sun, 27 Dec 2009 12:26:27 +0100 Original-Received: from ambire.localdomain ([79.16.72.47]) by FBCMCL01B06.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sun, 27 Dec 2009 12:26:26 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NOrEI-0004tQ-Hc; Sun, 27 Dec 2009 12:24:10 +0100 In-Reply-To: <20091226232250.GA4209@lars-x200s.resnet.ust.hk> (Chengqi Song's message of "Sun, 27 Dec 2009 07:22:50 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-OriginalArrivalTime: 27 Dec 2009 11:26:26.0615 (UTC) FILETIME=[6D7FF470:01CA86E7] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7568 Archived-At: () Chengqi Song () Sun, 27 Dec 2009 07:22:50 +0800 "By calling this function, the garbage collector learns about all references that your SMOB has to other SCM values." what is "has to other SCM values"? is it a typo? Perhaps that object contains (points to, references) other sub-objects. The SMOB's mark function must call (back to) Guile's mark function for those sub-objects. In this way the collector learns. If the mark function fails to do that, the collector remains ignorant. thi