Re: guile studio

2021-05-31 Thread Ricardo Wurmus



Adriano Peluso  writes:

It does work !


Great!

It's just that I had forgot a .emacs.d folder in my home (for 
the Emacs
provided by Ubuntu) and it was misdirecting the Emacses provided 
by
Guix 


Hmm, this is a little confusing.  Perhaps something is missing in 
Guile Studio to prevent accidental loading of existing Emacs 
packages.  The wrapper overrides EMACSLOADPATH and then launches a 
particular version of Emacs without the site file, and then loads 
all the packages from EMACSLOADPATH.  I wonder if it accidentally 
picks up *other* packages as well.


--
Ricardo



Guile 3.0.7 compile cache messages

2021-05-31 Thread Zelphir Kaltstahl
Hello Guile Users!

It seems my Guile (version 3.0.7, installed via GNU Guile, updated today) is
doing something weird, or perhaps something correct but unexpected with regard
to informing about it finding compile caches. When I run a program with `guile
-L . main.scm`, it displays the following:


$ guile -L . main.scm 
;;; note: source file ./logging.scm
;;;   newer than compiled 
/home/user/.guix-profile/lib/guile/3.0/site-ccache/logging.go
;;; found fresh local cache at 
/home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/lf2-data-files/logging.scm.go
;;; note: source file ./file-reader.scm
;;;   newer than compiled 
/home/user/.guix-profile/lib/guile/3.0/site-ccache/file-reader.go
;;; found fresh local cache at 
/home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/lf2-data-files/file-reader.scm.go
160


This is displayed every single time I run the same program, without making any
changes to the program.

Is this intentional?

I think it used to not display this info all the time. It could become quite
annoying with a bigger program consisting of hundreds of files / modules and
then Guile displaying a note for every single file.

Even with `--no-auto-compile` as in `guile -L . --no-auto-compile main.scm` it
keeps displaying that message.

Is there something I can do, to only make it display a note about caches, when
it finds, that a file needs recompiling, because the cache is not up to date any
longer?

Here is some more detailed information about my versions:


$ guix --version
guix (GNU Guix) 4092813037f9fadb2c1da805dc9117277efc7910
Copyright (C) 2021 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ guile --version
guile (GNU Guile) 3.0.7
Copyright (C) 2021 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Best regards,
Zelphir

-- 
repositories: https://notabug.org/ZelphirKaltstahl