<vika_nezrimaya>
I had an error where use-package wouldn't work at all in a previous generation of my environment so I was forced to temporarily abandon emacs-pgtk and use other editors
<selfsymmetric-mu>
vika_nezrimaya: Usually that indicates an infinite loop. I run with `emacs --debug-init` and then `M-x toggle-debug-on-error` so that a stacktrace is printed when the evaluation depth is reached.
<vika_nezrimaya>
I had debug-on-error enabled when running `(spaceline-compile)` but no stacktrace was produced
<vika_nezrimaya>
Oh wait it is getting produced
<vika_nezrimaya>
but it's very confusing
<vika_nezrimaya>
Should I try to make it into a gist and post a link?
<vika_nezrimaya>
also related: any quick way to select all text in the buffer? I have evil-mode so evil commands are an option
<vika_nezrimaya>
this is a stacktrace from when I try to /join #nixos
<antifuchs>
Sounds like the sequence function is buggy? Something something stale elc files?
<antifuchs>
Check the definitions of the three functions on the trace - sequence, seq-into-sequence and seq-map; maybe that has a hint to what’s wrong
<vika_nezrimaya>
stale elc files? sounds more like something Nix should've taken care of
<vika_nezrimaya>
if Emacs doesnt cache them somewhere else of course
<vika_nezrimaya>
which might be a thing... I'm too casual of a Emacs user to know this
<vika_nezrimaya>
antifuchs: I've reviewed my load-path, and all of the directories that are not empty are managed by Nix
<vika_nezrimaya>
It should've been Nix's job to use my config to byte-compile Lisp where needed using the copy of Emacs I configured
<antifuchs>
Hm. It’s the only explanation I can come up with. The infinite recursion there looks like it is in functions defined in cl.el, which ships with emacs
<antifuchs>
Maybe there’s an advice gone wrong?
<vika_nezrimaya>
I do use some advices, but I don't remember advising basic functions
<antifuchs>
I’m new to emacs in nix too, I know how to debug emacs alone but with nix things in between, that scratches at the boundaries of my skill
<vika_nezrimaya>
You debug it as usual, only except changing a file you patch a Nix expression and rebuild the world
<vika_nezrimaya>
probably
<vika_nezrimaya>
at least I do it like this
<vika_nezrimaya>
The problem is: most Nix expressions for Emacs packages are automatically generated and patching them manually might turn out to be... problematic
<vika_nezrimaya>
The home-manager config snippet I linked above should fully reproduce my Emacs configuration, save for init.el
<vika_nezrimaya>
which may or may not be part of the problem
vika has joined #nixos-emacs
<vika>
but it looks like `emacs -q` works
<vika_nezrimaya>
and yes I am in fact the same person
<vika_nezrimaya>
now this is extremely suspicious
vika has quit [Remote host closed the connection]
<vika_nezrimaya>
ok great so the problem is in the init.el somehow?!