From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Fix for `submodules' in (ice-9 session) (closes #30062) Date: Sat, 04 Sep 2010 10:34:41 -0700 Message-ID: References: <1283257143-24354-1-git-send-email-jao@gnu.org> <87occi34ry.fsf@newton.homeunix.net> <87bp8i2x9e.fsf@newton.homeunix.net> <877hj5r7rt.fsf@gnu.org> <87y6blyyec.fsf@newton.homeunix.net> <87k4n5ksr7.fsf@gnu.org> <8762ymwbtl.fsf@newton.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283621507 30516 80.91.229.12 (4 Sep 2010 17:31:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Sep 2010 17:31:47 +0000 (UTC) Cc: guile-devel@gnu.org To: "Jose A. Ortega Ruiz" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Sep 04 19:31:45 2010 Return-path: Envelope-to: guile-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 1Orwac-0006MD-ET for guile-devel@m.gmane.org; Sat, 04 Sep 2010 19:31:45 +0200 Original-Received: from localhost ([127.0.0.1]:39470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrwaZ-00024D-Q1 for guile-devel@m.gmane.org; Sat, 04 Sep 2010 13:31:39 -0400 Original-Received: from [140.186.70.92] (port=39042 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrwaV-000231-3u for guile-devel@gnu.org; Sat, 04 Sep 2010 13:31:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrwaQ-0008II-10 for guile-devel@gnu.org; Sat, 04 Sep 2010 13:31:31 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:64921 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrwaP-0008IC-Um; Sat, 04 Sep 2010 13:31:30 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 3C6F1D3BAC; Sat, 4 Sep 2010 13:31:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=bjJCP2LnxGf8x/mLXMLh4H03ilk=; b=cBWzeP 88P712vlAOm+3O+bN5tpZItWduHJXMqLNQRY9LtLi2t1lQkpVw/cXUn6Gb9TF3rG mmeeXnlYvQu3WT+V+fe4w5ApeUTmrDQPhs1gPki9w8xRhTSRu8WM7c5ppmlJNeND 7q2lM3VIP4NF9x7DSi35fL7uA5zLdKROY9U2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=knNUdwCofKKKuzfkgJtceNTGCpLvwohD KWMkvdeAzAjZtkKZvDyrsRhFWbjf7QUvYxv1dlSZtreIED5ffHPmmw4Cwx/25aLX nPgMy84Bb7zCE52MgUrnu/nmZn5VmZUfXBAkpL6+WIAf7CERCAszEmkoSO9nYJwr Kte9Q+95k1g= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 26741D3BAB; Sat, 4 Sep 2010 13:31:28 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [75.16.63.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 84F07D3BA9; Sat, 4 Sep 2010 13:31:26 -0400 (EDT) In-Reply-To: <8762ymwbtl.fsf@newton.homeunix.net> (Jose A. Ortega Ruiz's message of "Sat, 04 Sep 2010 03:13:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 3FC377A6-B84A-11DF-8F2E-030CEE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10858 Archived-At: Hi, On Fri 03 Sep 2010 18:13, "Jose A. Ortega Ruiz" writes: > On Fri, Sep 03 2010, Andy Wingo wrote: > >> We can add flags to modules to indicate that they are temporary; not >> "user modules". > > That'd be great. Then, we could add a (keyword) parameter to the folding > functions to exclude (or, i think i would prefer, include) temporary > modules in the traversal (or create new functions doing that). You can already filter out modules whose "kind" is #f: scheme@(guile-user)> (module-kind (resolve-module '(ice-9 q))) $3 = directory scheme@(guile-user)> (module-kind (make-fresh-user-module)) $4 = #f I don't think we need an extra flag. However module "kinds" need some retroactive design, I think... Andy -- http://wingolog.org/