From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#17418: #:select gives access to private variables Date: Tue, 03 Jun 2014 19:08:54 -0400 Message-ID: <87ioohvbeh.fsf@yeeloong.lan> References: <87sion47ji.fsf@gnu.org> <8738fo2k7q.fsf@yeeloong.lan> <87vbsj4ttv.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401837024 15736 80.91.229.3 (3 Jun 2014 23:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2014 23:10:24 +0000 (UTC) Cc: 17418@debbugs.gnu.org To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jun 04 01:10:17 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WrxqT-0005SF-Ap for guile-bugs@m.gmane.org; Wed, 04 Jun 2014 01:10:17 +0200 Original-Received: from localhost ([::1]:56273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrxqS-0001Dw-FJ for guile-bugs@m.gmane.org; Tue, 03 Jun 2014 19:10:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrxqK-0001AK-Ck for bug-guile@gnu.org; Tue, 03 Jun 2014 19:10:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrxqF-0005IT-2K for bug-guile@gnu.org; Tue, 03 Jun 2014 19:10:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrxqE-0005Go-VY for bug-guile@gnu.org; Tue, 03 Jun 2014 19:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WrxqE-0007Gm-0R for bug-guile@gnu.org; Tue, 03 Jun 2014 19:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 03 Jun 2014 23:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17418 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 17418-submit@debbugs.gnu.org id=B17418.140183695427871 (code B ref 17418); Tue, 03 Jun 2014 23:10:01 +0000 Original-Received: (at 17418) by debbugs.gnu.org; 3 Jun 2014 23:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:42765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrxpR-0007FS-J6 for submit@debbugs.gnu.org; Tue, 03 Jun 2014 19:09:13 -0400 Original-Received: from world.peace.net ([96.39.62.75]:46395 ident=hope0) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrxpP-0007FG-V8 for 17418@debbugs.gnu.org; Tue, 03 Jun 2014 19:09:12 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WrxpJ-0004AH-32; Tue, 03 Jun 2014 19:09:05 -0400 In-Reply-To: <87vbsj4ttv.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 02 Jun 2014 10:08:28 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7484 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver skribis: > >> Perhaps we should consider making #:select issue a warning when it >> imports private bindings, > > Yes, sounds like a good idea. Sounds good. Specifically, I guess we should deprecate this way of using #:select. If you do this, can you adjust system/repl/coop-server.scm to avoid it? It imports the following private bindings: start-repl* run-server* add-open-socket! close-socket! >> and also adding a mechanism to import private bindings without a >> warning. > > I=E2=80=99m unsure about this. Normally we don=E2=80=99t want to allow t= hat, because > that defeats the purpose of modules. Fair enough. Having mulled it over, I tend to agree that we should not try to make this more convenient. > OTOH, in practice we occasionally need this ability; I typically use > @@ for that, but it=E2=80=99s not as nice as a real import. I think asking people to use @@ is reasonable here. Thanks, Mark