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: Feng Shu
Subject: Re: Suggest improve emacs setting in 'The Perfect Setup'
Date: Sun, 08 Jan 2023 06:43:41 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Simon Tournier <zimon.toutoune@gmail.com> writes:

> 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.com2: 
> 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.

I just read tempel templates and copyright.el from this directory.
maybe I should read them from another dir, but I do not know where,

in "~/.config/guix/current/share" seem can not find them.

>
>
> Cheers,
> simon

-- 




reply via email to

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