From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: 2QdxY4RzWzUUiLuE@potatochowder.com Newsgroups: gmane.lisp.guile.user Subject: Re: display path of directory of a file and bug? Date: Sun, 6 Sep 2020 10:12:37 -0500 Message-ID: <20200906151237.GC1494@scrozzle> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39277"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Sep 06 17:13:05 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 1kEwLo-000A8g-Q2 for guile-user@m.gmane-mx.org; Sun, 06 Sep 2020 17:13:04 +0200 Original-Received: from localhost ([::1]:44024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEwLn-0000CC-Ql for guile-user@m.gmane-mx.org; Sun, 06 Sep 2020 11:13:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1kEwLf-0000C2-2Y for guile-user@gnu.org; Sun, 06 Sep 2020 11:12:55 -0400 Original-Received: from www458.your-server.de ([136.243.165.62]:35912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1kEwLd-0008KU-3Z for guile-user@gnu.org; Sun, 06 Sep 2020 11:12:54 -0400 Original-Received: from sslproxy01.your-server.de ([78.46.139.224]) by www458.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1kEwLW-0002dh-VH for guile-user@gnu.org; Sun, 06 Sep 2020 17:12:46 +0200 Original-Received: from [172.58.87.66] (helo=localhost) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1kEwLW-000GNh-6S for guile-user@gnu.org; Sun, 06 Sep 2020 17:12:46 +0200 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline In-Reply-To: X-Authenticated-Sender: 2QdxY4RzWzUUiLuE@potatochowder.com X-Virus-Scanned: Clear (ClamAV 0.102.4/25922/Sun Sep 6 15:39:20 2020) Received-SPF: pass client-ip=136.243.165.62; envelope-from=2QdxY4RzWzUUiLuE@potatochowder.com; helo=www458.your-server.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 11:12:47 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:16871 Archived-At: 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. Someone with more knowledge of guile and its caching will have to provide more details. Possible solutions? (1) Clean your cache. Mine is somewhere under $HOME/.cache/guile/ccache. (2) Use GUILE_AUTO_COMPILE=fresh to force guile to ignore the cache and recompile the source file. (3) Don't do that. ;-) HTH, Dan