February 19, 2023, 8:38pm
Hello fellow Nyxt hackers ! May i ask you how to instruct nyxt to use emacs as external editor in a Guix system ?
I’ve unsuccesfully tried to do so like this ( in both my ~/.config/nyxt/init.el and …/auto-config.lisp files) :
FYI, i’m getting Nyxt message saying :
" WARNING : the value is not of type list when binding SB-IMPL::X "
What am i missing ?
thanks, thanks thanks
February 20, 2023, 8:28am
Try putting this string into a list, like
That should probably fix it.
The problem is likely due to
uiop:launch-program (the function we use for external editor invokations) accepting only a list of strings. I’ve just pushed a fix on master, now a mere string should be fine too.
By the way, why
init.el instead of
init.lisp? Nyxt is written in Common Lisp, not Emacs Lisp.
February 21, 2023, 12:46pm
@fenix Note that specifying the program as a list of strings is handy since you can also declare arguments. For instance, here’s how I set
((external-editor-program (list "emacsclient" "-c"))))
March 1, 2023, 8:29am
Nice to know
Oh, yes, … i knew. Super Nyxt browser is made not of Emacs Lisp but Common Lisp,
@aartaka . Thanks for the reminder.