From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: find-versioned-module bugs Date: Fri, 18 Jun 2010 10:28:52 +0200 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 1276860029 4665 80.91.229.12 (18 Jun 2010 11:20:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 11:20:29 +0000 (UTC) Cc: bug-guile To: Julian Graham Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jun 18 13:20:25 2010 connect(): No such file or directory Return-path: Envelope-to: guile-bugs@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 1OPZcW-000713-0u for guile-bugs@m.gmane.org; Fri, 18 Jun 2010 13:20:24 +0200 Original-Received: from localhost ([127.0.0.1]:44895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPZcV-00079O-5a for guile-bugs@m.gmane.org; Fri, 18 Jun 2010 07:20:23 -0400 Original-Received: from [140.186.70.92] (port=41623 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPZcJ-00075p-F8 for bug-guile@gnu.org; Fri, 18 Jun 2010 07:20:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPZcG-0001iS-Bq for bug-guile@gnu.org; Fri, 18 Jun 2010 07:20:11 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:56465 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPZcG-0001iG-9s for bug-guile@gnu.org; Fri, 18 Jun 2010 07:20:08 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D9086BD036; Fri, 18 Jun 2010 07:19:44 -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=Dw2Cx9BhnnFXrbwKyrlnEHg1lsw=; b=Oz2vZc 28yiz7fH4Y1o30PraY1JCNuM0V/T53mkfxzuERy1ANZeRvsJDEjGcG5vNSIATshl M79ixUIicmRnwSjbIfeXLZ1jHw52FsrTggrI20PlfxUgiSoGIOAiposhJxG7sfMi 1vJ3h9l0b8SpVchaO0uxr5kA6AcDDfbFko1wE= 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=qFvAc3eL3e6T+LIpW0VMpMFW49Qdgwjd /UY8SjABRdfqRsqDtahsZqNKLBUs/tJUiBt/3exSWZtL3e238al8NFwz2MgjH9ZS 8/ct60WxcoCa/9caSTPX/L2U908eIFkOU4uv7Th/lVPaRpPaTSC7mFM5fMvp3ZI4 QpNk6HcNgoA= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id C24CBBD035; Fri, 18 Jun 2010 07:19:43 -0400 (EDT) Original-Received: from unquote (unknown [79.151.219.253]) (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 2E3D0BD034; Fri, 18 Jun 2010 07:19:41 -0400 (EDT) In-Reply-To: (Julian Graham's message of "Thu, 17 Jun 2010 08:58:16 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 651AB940-7ACB-11DF-940F-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4674 Archived-At: On Thu 17 Jun 2010 14:58, Julian Graham writes: >> I don't know, all that code is tricky. How about having >> find-versioned-module return a tail instead of a full path, then pass >> that tail to primitive-load-path? It will cause some slight duplication >> of effort but it will find the .go correctly. > > Sure! Find attached an implementation of `find-versioned-module' that > does precisely that -- although it looks like we've gone in a slightly > different direction since this email was written... ;-) We did get to discuss a bit on IRC, but for the list: I have removed support for searching for versioned modules in the filesystem. We could add it back later, but I would like for it to be in a more user-extensible form if we do that. I should also apologize in public for leading you down this goose chase :/ Oh well! Regards, Andy -- http://wingolog.org/