guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggest improve emacs setting in 'The Perfect Setup'


From: Simon Tournier
Subject: Re: Suggest improve emacs setting in 'The Perfect Setup'
Date: Fri, 06 Jan 2023 17:07:08 +0100

Hi,

Thanks for sharing.  Interesting to see other config.


On Fri, 30 Dec 2022 at 08:54, Feng Shu <tumashu@163.com> wrote:

> ;; ** Let geiser-guile use 'guix repl'
> (setq geiser-guile-binary (list "guix" "repl" "-L" eh-geeguix-dir))

Be careful, this can bite you. :-)  Guile is run with --no-auto-compile
so the debugger is probably not working as expected.  See [1,2].

1: https://yhetil.org/guix/86o7ss1u49.fsf@gmail.com
2: https://yhetil.org/guix/87lenve3t2.fsf@gnu.org


> ;; ** Get guix dir installed by 'guix pull'.
> (defun eh-guix-dir ()
>   (file-name-as-directory
>    (cl-find-if
>     (lambda (dir)
>       (file-exists-p (expand-file-name "guix.scm" dir)))
>     (directory-files
>      (expand-file-name "~/.cache/guix/checkouts/")
>      t))))

Well, I do not know what you do with this but if you manually write in
this directory, then “guix pull” could be then broken.


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]