From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: What's up with 'current-load-port' Date: Sun, 04 Nov 2018 20:43:04 -0500 Message-ID: <87a7momh8c.fsf@netris.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541383052 32747 195.159.176.226 (5 Nov 2018 01:57:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2018 01:57:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: guile-user@gnu.org To: Thomas Morley Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 05 02:57:28 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJU8s-0008Nw-RR for guile-user@m.gmane.org; Mon, 05 Nov 2018 02:57:26 +0100 Original-Received: from localhost ([::1]:60947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJUAz-0000GU-7P for guile-user@m.gmane.org; Sun, 04 Nov 2018 20:59:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJTvp-00014E-Kq for guile-user@gnu.org; Sun, 04 Nov 2018 20:43:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJTvi-00040G-Lm for guile-user@gnu.org; Sun, 04 Nov 2018 20:43:55 -0500 Original-Received: from world.peace.net ([64.112.178.59]:47304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJTvi-0003yV-49 for guile-user@gnu.org; Sun, 04 Nov 2018 20:43:50 -0500 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJTvh-0005QU-7J; Sun, 04 Nov 2018 20:43:49 -0500 In-Reply-To: (Thomas Morley's message of "Sun, 4 Nov 2018 12:55:24 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14961 Archived-At: Thomas Morley writes: > what's up with 'current-load-port'? > > Simply checking in a guile-prompt I get: > guile-1.8: # > guile-2.0.14: # > guile-2.2.4 and guile-2.9.1: > ;;; : warning: possibly unbound variable `current-load-port' > ERROR: In procedure module-lookup: Unbound variable: current-load-port > > It's in the manual, though, without any hint it could be deprecated or > disabled or the need to use a certain module. Good catch. I agree that this was mishandled. Out of curiosity, what do you use 'current-load-port' for? Although it's in the manual, the description doesn't really describe what the procedure returns, or when one can rely upon it being set. It only says that it's "used internally by 'primitive-load'". Mark