libera/#commonlisp - IRC Chatlog
Search
0:24:48
jackdaniel
clim visualisation of fast gf dispatch for ecl (wip) https://i.imgur.com/fGGvPVK.png
2:47:13
rotateq
hehe i saw a video from Edi where he talks about the 2nd version for his popular math book and in the end "so also my book 'Common Lisp Recipes', more a reference for advanced users, the dumb title isn't by me, but the publisher" ^^
11:05:21
attila_lendvai
what's the semantics of the :default-initargs of defclass? i have added one for a baseclass, and when i inspect the instance of a subclass of it, i can see it in SBCL's internal slots on the class, but the slot-value on the instance is not what i have specified.
11:06:29
jackdaniel
initargs are passed to initialize-instance, reinitialize-instance and shared-initialize
11:08:47
attila_lendvai
oh, the slot has a :initform, probably that's why it's completely ignored. thanks jackdaniel!
11:10:54
jackdaniel
I think that you have an initform in the subclass that you create the instance of, and you have a default initarg in the superclass's form
11:11:49
jackdaniel
but then even without the initform the superclass's initarg would not take effect
11:13:31
attila_lendvai
Xach wrote about it: https://lisptips.com/post/11728375873/initform-and-default-initargs
11:13:38
jackdaniel
(because default initargs are supplemented to make-instance that is specialized on the class, not as an after method)
11:25:39
theothornhill
Is anyone else struggling with sly not popping the marker stack correctly when using M-. and M-,?
11:26:16
jackdaniel
I've noticed that slime shows an empty buffer if the slime debugger is popped from another thread, not sure if that's relevant
11:26:25
theothornhill
I can go to definition with M-., but won't go back with M-,. It just says 'at start of xref history'
11:27:57
attila_lendvai
jackdaniel, nothing really, just holding off the bitrot from the hu.dwim universe. i'm mostly working on/with crypto stuff, https://www.ethswarm.org/ and Guix (i.e. scheme! :)
11:29:04
attila_lendvai
ACTION is reminded of all the slime gems getting bitrotten in his fork. should have submitted them again to the new maintainers...
11:30:01
attila_lendvai
jackdaniel, hopefully helps recovering from the ongoing mass psychosis by providing an uncensorable p2p storage infrastructure
11:30:05
jackdaniel
I need to give another shot guix (but plug in there non-guix repository), I really like the idea
11:31:26
attila_lendvai
jackdaniel, it's a whole lot of fun! i've spent a few months on nixos, but their infrastructure for services was a pain to work with. then i moved on to guix, and i didn't regret it one bit. i've already implemented the swarm service for it.
11:32:29
attila_lendvai
jackdaniel, the scheme devenv for guix is nowhere near the slime/sbcl experience, but it's still a lisp nevertheless. on Guix even the init process is a scheme code (i.e. instead of systemd and whatnot).
11:41:55
theothornhill
Hmm. I must be confused. Has never M-. and M-, worked with going back and forth between definition and usage? I get the same behavior in slime as well
11:44:12
theothornhill
How strange. Do you need to do anything magical in your config? I run emacs -Q with (package-initialize), set the lisp-inferior-program, then quickload my project. Now I can jump to definition, but not jump back
11:48:38
pjb
but the same behavior is also implemented with M-. bound to xref-find-definitions and M-, to xref-pop-marker-stack eg. in emacs-lisp-mode (probably also C modes using TAGS files).
11:49:58
theothornhill
Yes, and it works proplerly in elisp and all other modes that implement this behavior