From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] guile-file-names 0.2 Date: Thu, 16 May 2019 16:06:44 -0400 Message-ID: <87tvdub1u8.fsf@netris.org> References: <87a7fmkbtv.fsf@invergo.net> <87y336b232.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="211849"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: guile-user@gnu.org To: Brandon Invergo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu May 16 22:08:59 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRMgV-000sxw-5P for guile-user@m.gmane.org; Thu, 16 May 2019 22:08:59 +0200 Original-Received: from localhost ([127.0.0.1]:34752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRMgT-00040M-IL for guile-user@m.gmane.org; Thu, 16 May 2019 16:08:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRMg6-0003yO-3V for guile-user@gnu.org; Thu, 16 May 2019 16:08:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRMg5-0005Mv-4M for guile-user@gnu.org; Thu, 16 May 2019 16:08:34 -0400 Original-Received: from world.peace.net ([64.112.178.59]:48680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRMg4-0005MZ-VB for guile-user@gnu.org; Thu, 16 May 2019 16:08:33 -0400 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 1hRMg3-0000W8-MM; Thu, 16 May 2019 16:08:31 -0400 In-Reply-To: <87y336b232.fsf@netris.org> (Mark H. Weaver's message of "Thu, 16 May 2019 16:01:26 -0400") 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:15481 Archived-At: Hi again, I wrote: > If you must override core procedures, then please use #:export and > #:replace in the 'define-module' form, and simply 'define' the new > binding in your module instead of using 'set!'. That way, the bindings > in (guile) will be left unchanged, and your new bindings will only be > used in modules that import your module. Sorry, I meant to give an example of this. Please see srfi/srfi-45.scm in the Guile source distribution for an example of the preferred way to override core bindings, such that only modules that import your module are affected. Thanks, Mark