From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregory Marton Newsgroups: gmane.lisp.guile.bugs Subject: Re: 1.8.2 srfi-19 warns about current-time Date: Mon, 8 Oct 2007 11:35:08 -0400 (EDT) Message-ID: References: <470906BE.9050207@wilsonjc.us> <878x6esuva.fsf@chbouib.org> Reply-To: Gregory Marton NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1191857732 24313 80.91.229.12 (8 Oct 2007 15:35:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2007 15:35:32 +0000 (UTC) Cc: bug-guile@gnu.org To: Ludovic =?iso-8859-1?Q?Court=E8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Oct 08 17:35:29 2007 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.50) id 1Ieudh-00079q-Nc for guile-bugs@m.gmane.org; Mon, 08 Oct 2007 17:35:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ieudc-0000W6-9n for guile-bugs@m.gmane.org; Mon, 08 Oct 2007 11:35:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IeudY-0000Tr-MX for bug-guile@gnu.org; Mon, 08 Oct 2007 11:35:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IeudX-0000SF-6t for bug-guile@gnu.org; Mon, 08 Oct 2007 11:35:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeudW-0000S7-Sp for bug-guile@gnu.org; Mon, 08 Oct 2007 11:35:14 -0400 Original-Received: from outgoing.csail.mit.edu ([128.30.2.149]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IeudR-0003Ke-QG; Mon, 08 Oct 2007 11:35:09 -0400 Original-Received: from ashmore.csail.mit.edu ([128.30.44.32]) by outgoing.csail.mit.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IeudR-0007KD-7n; Mon, 08 Oct 2007 11:35:09 -0400 Original-Received: from gremio (helo=localhost) by ashmore.csail.mit.edu with local-esmtp (Exim 4.50) id 1IeudR-0007CC-2y; Mon, 08 Oct 2007 11:35:09 -0400 In-Reply-To: <878x6esuva.fsf@chbouib.org> X-Detected-Kernel: Linux 2.6 (newer, 3) 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:3615 Archived-At: Thanks Jon, Ludovic, I indeed hadn't noticed that it was intentional, but I'm in agreement with Ludovic. I'm concerned that my customer shouldn't be confused and worried by a warning, and I see no way to override the warning myself. This is a bit of overkill, but I thought it might work: (with-error-to-string (lambda () (use-modules (srfi srfi-19)))) But no: use-modules can only be used at top level. Even if I could figure out a way to do that, (I dunno, figuring out what global variable (current-error-port) uses and manually set!ing it to something else temporarily?) I'd be worried about missing actually important warnings. Do I have any option besides forking srfi-19.scm and using :replace? Thanks, Grem > Hi, > > Jon Wilson writes: > >> SRFI-19, on the other hand, exports its own version of |current-time| >> (see SRFI-19 Time >> ) >> which is not compatible with the core |current-time| function (see >> Time >> ). Therefore, >> SRFI-19 does not use |#:replace|. > > FWIW, I think it's pointless to *not* use `:replace' in situations like > this where one can reasonably assume the user knows that bindings are > going to overridden: > > http://thread.gmane.org/gmane.lisp.guile.devel/5330 > http://thread.gmane.org/gmane.lisp.guile.devel/5360 > > There is no consensus about it, though. :-) > > Thanks, > Ludovic. > > > > _______________________________________________ > Bug-guile mailing list > Bug-guile@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-guile > -- ------ __@ Gregory A. Marton http://csail.mit.edu/~gremio/ --- _`\<,_ . -- (*)/ (*) Now accepting spam for just $1000 per word. ~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~++~~~~~~~ _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile