From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Catonano Newsgroups: gmane.lisp.guile.user Subject: Re: display path of directory of a file and bug? Date: Tue, 8 Sep 2020 12:32:05 +0200 Message-ID: References: <20200906151237.GC1494@scrozzle> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10649"; mail-complaints-to="usenet@ciao.gmane.io" To: Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Sep 08 12:32:30 2020 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 1kFavO-0002fh-A2 for guile-user@m.gmane-mx.org; Tue, 08 Sep 2020 12:32:30 +0200 Original-Received: from localhost ([::1]:36788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFavN-0003IP-DL for guile-user@m.gmane-mx.org; Tue, 08 Sep 2020 06:32:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFavE-0003II-C6 for guile-user@gnu.org; Tue, 08 Sep 2020 06:32:20 -0400 Original-Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:39912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFavC-00018Q-J9 for guile-user@gnu.org; Tue, 08 Sep 2020 06:32:20 -0400 Original-Received: by mail-io1-xd32.google.com with SMTP id b6so16475615iof.6 for ; Tue, 08 Sep 2020 03:32:18 -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=TW+AFfGzKZEZNakKgxxLYWqP18X+W/jQ+Li3/p8dhk8=; b=i+On7VdlsHRodC+U5B0otAAB4peGg+XCq83S1xm/GEKD3gByZ1t71KGt+njaLYhiHG wwqpv4fg13t1XLeJxmHEN6L/gkyEiDZfCrLmvkWzOWJEagbRCJZ0LPEOmHFQiid0VCr+ JPsLWpU/RLD/PSdsJrljlwDfvhtC+KT6A3157meMdvFwAg05K8RzxHB8kEkuvCvbz7o0 XOtFtIjHOS3tovOvaLGKTXwPLhuZqsciMm/9GtOgHjG+EfImYldYWRIuvw0q9zcOprgF BH2vlLUaEu/y3WJItjyhpWpDfMi8ANt+sU4paa/2YUMPKjz/BnE4TnGxgD8ah1qMeWsJ y6Dw== 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=TW+AFfGzKZEZNakKgxxLYWqP18X+W/jQ+Li3/p8dhk8=; b=TA80W4t95BjDvka2vVJH1nbaFvJL7C6Or5CLq/3Z2bgd12ZNX/MYFsUSaobkljKwHS xpbgNKIh9m6f0KC2Ekdy/hmNdqcf0pe7oFkEX5jCpa6UmAHtI/z8sSacN4Wj4dm66rPr yTgTe9ieAYpbTtuftcaGYWRil9VREZPgM2BHhMyqmr8L8CpYbNpX+4C+ae9udeGl2JqE +eT8TG0dNPkR4E0bycww8yryCGmoREdvCbA5GYphcRiu5+3b7cPiwb5cL01Kh5BUGq5H ZKx/k3a6K4Y9aiMJjvTH+JpAWbgXu8YoLVdRcIAsbh1/R6o9jAKUtMvKxQe1e3ynHRte ri4Q== X-Gm-Message-State: AOAM533nYWQ0obr/rFrJyRcOTvyBy+9p9GVtwtsMAKETwsp93/+nRvHu XrpSAnt/GPEDWYdZdcAZpd0xWb0+gvKz4vB6XNkUbfyjMQ== X-Google-Smtp-Source: ABdhPJybtRpKR7V8+Wag0w4FS3YFLu/df1wmSh70WKP7Z/uaZITvHafXM5rmhqDAhvApcRsQzu7wuCfdt9V3FW3pi0U= X-Received: by 2002:a6b:2bcf:: with SMTP id r198mr19629692ior.84.1599561137006; Tue, 08 Sep 2020 03:32:17 -0700 (PDT) In-Reply-To: <20200906151237.GC1494@scrozzle> Received-SPF: pass client-ip=2607:f8b0:4864:20::d32; envelope-from=catonano@gmail.com; helo=mail-io1-xd32.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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:16887 Archived-At: Il giorno dom 6 set 2020 alle ore 17:13 <2QdxY4RzWzUUiLuE@potatochowder.com= > ha scritto: > On 2020-09-06 at 16:03:17 +0200, > Zelphir Kaltstahl wrote: > > > If I move a file using `mv`, a recomplation seems to be not > > required. If I copy the file instead, Guile recompiled it. Does this > > have something to do with inodes or creation date, which is > > differently handled when using `cp` instead of `mv`? > > That was my first thought. Renaming a file (using mv) doesn't change > the timestamp, and it's likely that guile tries to use a cached version > but some of the pieces don't fit right. Probably the cached version contains, hardwired, to say so, the _old_ name of the file so when the compiled version runs, the file can't be found ? Also if this is the case, the error message is... suboptimal ? Maybe, being able to process the exception that gets raised, you could extract more information about the error The interesting line is this one 1736:10 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) If you can manage to somehow process such exception, it'd be nice if you would share what you find =E2=98=BA