From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.user Subject: Re: use module does not works in .guile Date: Sun, 2 May 2021 22:32:55 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40343"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun May 02 22:34:23 2021 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 1ldInG-000ANN-KQ for guile-user@m.gmane-mx.org; Sun, 02 May 2021 22:34:22 +0200 Original-Received: from localhost ([::1]:48742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldInF-00048T-Ij for guile-user@m.gmane-mx.org; Sun, 02 May 2021 16:34:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIm6-0002oL-37 for guile-user@gnu.org; Sun, 02 May 2021 16:33:10 -0400 Original-Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:39559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldIm4-0000IP-Cm for guile-user@gnu.org; Sun, 02 May 2021 16:33:09 -0400 Original-Received: by mail-io1-xd34.google.com with SMTP id k25so2557191iob.6 for ; Sun, 02 May 2021 13:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JhGM8Adfwnpe5RW8bUKt/6E0Rl/zypi00+WhpaEJLeg=; b=nd/HZANXIcRKihPhxQX9+rs096mKC3JgsGSFRxhzSCKKzGw9V5vUM6aTn/SNCOQLmA oU5j2zx2CyYZDDC6+OY/mXJWu/+Cw1l3RnJ4LDPzQOdhqbZRk/B3fIjfimxSWee2H8sW aGiKrBiD7GWW0TAOa7CnTZ7D9lO39xTMANs9V8JRqnEaIhbh2c/R7PytFnleg4FcUYGK QHbQoVA0eUvrz+L/zgJpPnYonbM7ZKCH5GUZ5D6ZG2D9mbVRdXAq9N5yozsy+aaL7H9x WLL1w/ZbHFoYRwBjxSUuwfsvdCbd+R0+kaY+tr5/ZHnKQDOxQmA7RTddPdoSu/T7wJ9q b9wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JhGM8Adfwnpe5RW8bUKt/6E0Rl/zypi00+WhpaEJLeg=; b=hWBZAYOUWOysDxQRvJ7du6W53y70JC6Z1ot8L0rYCRBCewH1K9cw3gzMFd0iva4IZC MMTe4Ygv6v4jnzfk3U3gTJSsRW4+7ORLJ9iugr39qKJb/GJNtsJytz+xRe8Yi3Z33jaG A+CtsEqjpYE9SGGqaplQpmZUz0IiQk/cJYq/7jN+MWK/L3oV+4u3xuuH4x5T8brFDNzr QMtTrnqJpHW2Tdq8ftVi/eWg8ATBLCHTL2p5vKdEGZ/GtXMzeCGm6pn5sj5djONO7mZl x2VF/uslRnHOLRwbqH4tAkYAS5u4zhECxg9r5rEbFqlz1V8NJ20xy+13Auwqo0qLckOQ I7yg== X-Gm-Message-State: AOAM533N+m3bdeIcEe933prGLS4r55XGfETqRiYeJrAmgaHGMuN++Ej9 L6pzkMpavl2lftHrf2SczCG4zPuzXr4q3whF1ZUvoLs25og= X-Google-Smtp-Source: ABdhPJx27vbyu8/OKKwrgPB9KYBCtHJKMA6YBrbzoY/Lh7Xp8EIUQw7ua5mlIkAlI8G0SyRI564UBVasEtk0hJlNDwM= X-Received: by 2002:a5d:8c82:: with SMTP id g2mr12090897ion.34.1619987586809; Sun, 02 May 2021 13:33:06 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d34; envelope-from=damien.mattei@gmail.com; helo=mail-io1-xd34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.lisp.guile.user:17506 Archived-At: my edited .guile was not in $HOME, it works now.... On Sun, May 2, 2021 at 6:11 PM Damien Mattei wrote: > i comment it out because ,anyway ,it won't works! > > On Sun, May 2, 2021 at 3:03 PM Nala Ginrut wrote: > >> It's commented in your code somehow. >> >> On Sun, May 2, 2021, 19:33 Damien Mattei wrote: >> >>> i have this .guile: >>> >>> ;; Guile config file >>> >>> >>> >>> ;; history >>> (use-modules (ice-9 readline) >>> ;; does not works: >>> ;; guile object oriented programming system >>> ;;(oop goops) >>> ) >>> >>> (activate-readline) >>> >>> >>> ;; curly infix as in srfi-105 >>> (read-enable 'curly-infix) >>> >>> ;; set current path in load path >>> ;;(set! %load-path (reverse (cons "." (reverse %load-path)))) >>> ;; the above does not work >>> ;; solution is to put this in shell: >>> ;; export GUILE_LOAD_PATH="...:." >>> >>> but (oop goops) is not working in REPL i have to issue an : >>> >>> scheme@(guile-user)> (use-modules (oop goops)) >>> >>