From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam McCartney Newsgroups: gmane.lisp.guile.user Subject: Help with imports Date: Sat, 18 May 2024 18:07:51 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24147"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat May 18 18:08:39 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s8Mbt-0005yp-K8 for guile-user@m.gmane-mx.org; Sat, 18 May 2024 18:08:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8MbH-0000le-8u; Sat, 18 May 2024 12:07:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8MbF-0000kM-6v for guile-user@gnu.org; Sat, 18 May 2024 12:07:57 -0400 Original-Received: from efeu.mur.at ([89.106.208.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8MbC-00040N-Mk for guile-user@gnu.org; Sat, 18 May 2024 12:07:56 -0400 Original-Received: from localhost (unknown [92.60.7.227]) by efeu.mur.at (Postfix) with ESMTPSA id 9123B45B47 for ; Sat, 18 May 2024 18:07:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mur.at; s=dkim1; t=1716048471; bh=4R4kyLxFcfEYwXd2zWpaFqkgWhIR25lWPodfknZIRbY=; h=Date:From:To:Subject:From; b=jeXEb3YBq38lenaIcegv/jSbvZTxJ0Oywg6iuoagL6iQGI4gDPSxOTZsCaibycsum awVNIJo0VJgZWIRF2XFIEbIZIr3Afj8OYsZovtWDVCStFYxEQwt22/P+QX4x/d1CUZ pJzch54ah1oJJo6jmqJ8piPOKzDEvf6hrhO5f4Tpv+UYWBgPc+jP5d41rRqI1Sd55r HTy0kG8rypy80ThHtGgwRmw7qc9VgeVeX/5P9V5Q6FEeI8tSaqGbPhRff2h98ZSRSI FI0ATfOzFeWpiIfOOk+LC8DaBxOKunkdLVxgao52C07bi49kGTTV2rwtmqRkXtf0og SvUh4cU/MASJg== Content-Disposition: inline Received-SPF: pass client-ip=89.106.208.42; envelope-from=adam@mur.at; helo=efeu.mur.at X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19659 Archived-At: Hi there, I was wondering if someone could offer some advice on where I'm going wrong with the following? I'm defining a module: ``` amccartn@mc ~/dotfiles (debug/home-services *) > rg "define-module" admccartney/home-services/shell.scm 3:(define-module (admccartney home-services shell) ``` And then failing to import it elsewhere, despite having added the directory to the guile load path. ``` amccartn@mc ~/dotfiles (debug/home-services *) > tree -a ~/dotfiles/admccartney/home-services/ /home/amccartn/dotfiles/admccartney/home-services/ ├── desktop.scm └── shell.scm 1 directory, 2 files amccartn@mc ~/dotfiles (debug/home-services *) > GUILE_LOAD_PATH=$GUILE_LOAD_PATH:$HOME/dotfiles/ guile GNU Guile 3.0.9 Copyright (C) 1995-2023 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,import(admccartn home-services shell) While executing meta-command: no code for module (admccartn home-services shell) ``` Any help much appreciated! regards, Adam -- Adam McCartney - https://admccartney.mur.at /