X-Loop: help-debbugs@HIDDEN Subject: bug#35315: [guile 2.9.1] Loading a module from subfolder fails Resent-From: Jan <tona_kosmicznego_smiecia@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Thu, 18 Apr 2019 23:16:02 +0000 Resent-Message-ID: <handler.35315.B.155562931021341 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 35315 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 35315 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.155562931021341 (code B ref -1); Thu, 18 Apr 2019 23:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2019 23:15:10 +0000 Received: from localhost ([127.0.0.1]:42740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHGFJ-0005Y8-HV for submit <at> debbugs.gnu.org; Thu, 18 Apr 2019 19:15:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tona_kosmicznego_smiecia@HIDDEN>) id 1hHFxg-00054n-Mo for submit <at> debbugs.gnu.org; Thu, 18 Apr 2019 18:56:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:38339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <tona_kosmicznego_smiecia@HIDDEN>) id 1hHFxb-0000c7-GP for submit <at> debbugs.gnu.org; Thu, 18 Apr 2019 18:56:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tona_kosmicznego_smiecia@HIDDEN>) id 1hHFxa-00042y-DI for bug-guile@HIDDEN; Thu, 18 Apr 2019 18:56:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tona_kosmicznego_smiecia@HIDDEN>) id 1hHFxZ-0000at-Bh for bug-guile@HIDDEN; Thu, 18 Apr 2019 18:56:50 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.159]:38064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <tona_kosmicznego_smiecia@HIDDEN>) id 1hHFxY-0000YV-QR for bug-guile@HIDDEN; Thu, 18 Apr 2019 18:56:49 -0400 Date: Fri, 19 Apr 2019 00:56:43 +0200 From: Jan <tona_kosmicznego_smiecia@HIDDEN> X-Mailer: interia.pl/pf09 X-Originating-IP: 89.64.52.91 Message-Id: <ztyneeqrsfgkkmgdvqwv@zgwm> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-Uh0haV3TsS11Ocl87kU6" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1555628204; bh=7zfuTFH2V9KXCeKo5Yav+0HNKsTFKBHzbFVQZ1NmTyw=; h=Date:From:Subject:To:X-Mailer:X-Originating-IP:Message-Id: MIME-Version:Content-Type; b=fc5L1Ypi5gqGGiGCENq95SHhFA31j9HBCfXhDevBkA0VbUZjCroT9JUZvbXJEksCe udWR5may1uAC3ody+MbQJm5ld0zRgXJq619ZguFVT3i88y/VvZdzn4g+oD+dOYO0EV NNvJBbdSp2Vc1kVSd3z4ilVFdet0cLoQr0PKzXZ4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 217.74.65.159 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Thu, 18 Apr 2019 19:15:09 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --=-Uh0haV3TsS11Ocl87kU6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi. When I try to load a tiny module "displays" I made, like this (use-modules (my-modules displays)), from the folder /usr/local/share/guile/site/3.0/my-modules, guile returns "no code for module (my-modules displays)", it works when I put displays.scm file into /usr/local/share/guile/site/3.0/ folder and use (use-modules (displays)) in my program. It worked with the version 2.2.4, so I guess this is a bug, I'm a new guile user, correct me if I'm wrong.Have a nice day!--Jan --=-Uh0haV3TsS11Ocl87kU6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w= 3.org/TR/REC-html40/loose.dtd"> <html><body><p>Hi. When I try to load a tiny module "displays" I made, like= this (use-modules (my-modules displays)), from the folder /usr/local/share= /guile/site/3.0/my-modules, guile returns "no code for module (my-modules d= isplays)", it works when I put <a href=3D"http://displays.scm" target=3D"_b= lank">displays.scm</a> file into /usr/local/share/guile/site/3.0/ folder an= d use (use-modules (displays)) in my program. It worked with the version 2.= 2.4, so I guess this is a bug, I'm a new guile user, correct me if I'm wron= g.<br><br>Have a nice day!<br data-mce-bogus=3D"1"><style type=3D"text/css"= >#icselection13 {width: 100% !important; height: 100% !important; padding-t= op: 0px !important; overflow: visible !important;}</style><style type=3D"te= xt/css">#icselection13 {width: 100% !important; height: 100% !important; pa= dding-top: 0px !important; overflow: visible !important;}</style><style typ= e=3D"text/css">#icselection13 {width: 100% !important; height: 100% !import= ant; padding-top: 0px !important; overflow: visible !important;}</style><br= ><br>--<br>Jan</p></body></html> = --=-Uh0haV3TsS11Ocl87kU6--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jan <tona_kosmicznego_smiecia@HIDDEN> Subject: bug#35315: Acknowledgement ([guile 2.9.1] Loading a module from subfolder fails) Message-ID: <handler.35315.B.155562931021341.ack <at> debbugs.gnu.org> References: <ztyneeqrsfgkkmgdvqwv@zgwm> X-Gnu-PR-Message: ack 35315 X-Gnu-PR-Package: guile Reply-To: 35315 <at> debbugs.gnu.org Date: Thu, 18 Apr 2019 23:16:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 35315 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 35315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35315 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#35315: It's not a bug, sorry References: <ztyneeqrsfgkkmgdvqwv@zgwm> In-Reply-To: <ztyneeqrsfgkkmgdvqwv@zgwm> Resent-From: Jan <tona_kosmicznego_smiecia@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Mon, 22 Apr 2019 21:46:01 +0000 Resent-Message-ID: <handler.35315.B35315.155596954128487 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35315 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 35315 <at> debbugs.gnu.org Received: via spool by 35315-submit <at> debbugs.gnu.org id=B35315.155596954128487 (code B ref 35315); Mon, 22 Apr 2019 21:46:01 +0000 Received: (at 35315) by debbugs.gnu.org; 22 Apr 2019 21:45:41 +0000 Received: from localhost ([127.0.0.1]:51788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hIgkv-0007PN-2h for submit <at> debbugs.gnu.org; Mon, 22 Apr 2019 17:45:41 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.239]:47664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tona_kosmicznego_smiecia@HIDDEN>) id 1hIgkr-0007P6-16 for 35315 <at> debbugs.gnu.org; Mon, 22 Apr 2019 17:45:38 -0400 Date: Mon, 22 Apr 2019 23:45:29 +0200 From: Jan <tona_kosmicznego_smiecia@HIDDEN> X-Mailer: interia.pl/pf09 X-Originating-IP: 89.64.52.91 Message-Id: <suissjwgmwurrwpnxlfv@qpzn> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-PromrQOVSpJtAFrkN+rm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1555969530; bh=/nkZSIkriCceuMRyDgOdnLYCONCQhVIfzzXUqBLojsY=; h=Date:From:Subject:To:X-Mailer:X-Originating-IP:Message-Id: MIME-Version:Content-Type; b=gV8fyP4RnCmJdSGjeWlRzoJbIixhpWzXqUocIzvU43nP6i8O7MflJEV5jNOyb1aYv uwZBrxbiEXLGqqUATBaZgCk5Bf+BH8Q2i5KPDmLZXrca9bX/jqg91lp7VdGD/RlG0Z gwVJQmN+gVJmKFs/h/FoDhB9+uvRVFL47hz+cP/s= X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-PromrQOVSpJtAFrkN+rm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit I've found out it's not a bug, I just didn't add (define-module (my-modules displays)) - the name of the folder to my module. Sorry for that.Have a nice day!--Jan --=-PromrQOVSpJtAFrkN+rm Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w= 3.org/TR/REC-html40/loose.dtd"> <html><body><p>I've found out it's not a bug, I just didn't=C2=A0 add (defi= ne-module (my-modules displays)) - the name of the folder to my module. Sor= ry for that.<br><br>Have a nice day!<br data-mce-bogus=3D"1"><style type=3D= "text/css">#icselection13 {width: 100% !important; height: 100% !important;= padding-top: 0px !important; overflow: visible !important;}</style><br><br= >--<br>Jan</p></body></html> = --=-PromrQOVSpJtAFrkN+rm--
X-Loop: help-debbugs@HIDDEN Subject: bug#35315: It's not a bug, sorry Resent-From: lloda <lloda@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Mon, 22 Apr 2019 22:44:02 +0000 Resent-Message-ID: <handler.35315.B35315.15559729859320 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35315 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Jan <tona_kosmicznego_smiecia@HIDDEN> Cc: 35315 <at> debbugs.gnu.org Received: via spool by 35315-submit <at> debbugs.gnu.org id=B35315.15559729859320 (code B ref 35315); Mon, 22 Apr 2019 22:44:02 +0000 Received: (at 35315) by debbugs.gnu.org; 22 Apr 2019 22:43:05 +0000 Received: from localhost ([127.0.0.1]:51835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hIheT-0002QG-0T for submit <at> debbugs.gnu.org; Mon, 22 Apr 2019 18:43:05 -0400 Received: from new-02-2.privateemail.com ([198.54.122.46]:49721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <lloda@HIDDEN>) id 1hIhUz-0002Cp-Db for 35315 <at> debbugs.gnu.org; Mon, 22 Apr 2019 18:33:18 -0400 Received: from MTA-06-1.privateemail.com (unknown [10.20.147.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by NEW-02.privateemail.com (Postfix) with ESMTPS id 5C80A60575; Mon, 22 Apr 2019 22:33:11 +0000 (UTC) Received: from MTA-06.privateemail.com (localhost [127.0.0.1]) by MTA-06.privateemail.com (Postfix) with ESMTP id 48D7E60058; Mon, 22 Apr 2019 18:33:11 -0400 (EDT) Received: from 4box.home (unknown [10.20.151.246]) by MTA-06.privateemail.com (Postfix) with ESMTPA id B6A956004D; Mon, 22 Apr 2019 22:33:10 +0000 (UTC) From: lloda <lloda@HIDDEN> Message-Id: <DD272180-CCF1-47D6-91DC-7B6122044EBE@HIDDEN> Content-Type: multipart/alternative; boundary="Apple-Mail=_C923A900-B58E-4FCD-9951-DB508C824E80" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Date: Tue, 23 Apr 2019 00:33:08 +0200 In-Reply-To: <suissjwgmwurrwpnxlfv@qpzn> References: <ztyneeqrsfgkkmgdvqwv@zgwm> <suissjwgmwurrwpnxlfv@qpzn> X-Mailer: Apple Mail (2.3445.104.8) X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 22 Apr 2019 18:43:03 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --Apple-Mail=_C923A900-B58E-4FCD-9951-DB508C824E80 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 22 Apr 2019, at 23:45, Jan <tona_kosmicznego_smiecia@HIDDEN> = wrote: >=20 > I've found out it's not a bug, I just didn't add (define-module = (my-modules displays)) - the name of the folder to my module. Sorry for = that. >=20 > Have a nice day! >=20 >=20 > -- > Jan >=20 Tbh I've always find this requirement a bit annoying. Clearly in an = inline definition the full name must be given, but if the module is = found through the path, which is the most common case, all you get from = the module declaration is a chance to make a mistake. I guess I'd like for it to be a nameless variant (define-module) that = would work only in module-files, or even no declaration at all, just = calling (use-modules (a b c)), then if a/b/c.scm is found, would make = the contents of c.scm into a module (a b c). I dunno. --Apple-Mail=_C923A900-B58E-4FCD-9951-DB508C824E80 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div = class=3D""><br class=3D""></div><div class=3D""><div = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On = 22 Apr 2019, at 23:45, Jan <<a = href=3D"mailto:tona_kosmicznego_smiecia@HIDDEN" = class=3D"">tona_kosmicznego_smiecia@HIDDEN</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><p = style=3D"caret-color: rgb(0, 0, 0); font-family: IowanOldStyle-Roman; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D"">I've found out it's not a bug, I just didn't add = (define-module (my-modules displays)) - the name of the folder to my = module. Sorry for that.<br class=3D""><br class=3D"">Have a nice day!<br = data-mce-bogus=3D"1" class=3D""><br class=3D""><br class=3D"">--<br = class=3D"">Jan</p></div></blockquote></div><br class=3D""></div></div><div= class=3D""><br class=3D""></div><div class=3D"">Tbh I've always find = this requirement a bit annoying. Clearly in an inline definition the = full name must be given, but if the module is found through the path, = which is the most common case, all you get from the module declaration = is a chance to make a mistake.<div class=3D""><br class=3D""></div><div = class=3D"">I guess I'd like for it to be a nameless variant = (define-module) that would work only in module-files, or even no = declaration at all, just calling (use-modules (a b c)), then if = a/b/c.scm is found, would make the contents of c.scm into a module (a b = c). I dunno.<br class=3D""></div></div><div class=3D""><br = class=3D""></div></body></html>= --Apple-Mail=_C923A900-B58E-4FCD-9951-DB508C824E80--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.