freenode/lisp - IRC Chatlog
Search
0:32:53
no-defun-allowed
Your (setf foo) function has to setf the value in question too, by the way.
0:40:05
asarch
But then: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION (COMMON-LISP:SETF COMMON-LISP-USER::X1) (1)> when called with arguments (3 #<POINT {10021926E3}>).
0:42:56
asarch
Oh, the same error: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION (COMMON-LISP:SETF COMMON-LISP-USER::X1) (1)> when called with arguments (3 #<RECT {10021926E3}>).
1:02:22
asarch
Another stupid question: what's the point of defgeneric if it will overriden by defmethod?
1:03:46
p_l
asarch: defmethod will, on all implementation I know of, implicitly add the same information as defgeneric... but only if defgeneric is missing
1:04:14
p_l
defgeneric lets you declare the interface in one concise place (and extended options allow you to include method implementations as well)
1:50:28
tsandstr
I've got a problem that I think is due to SLIME that I can't quite figure out. When I run the function READ with no arguments, Emacs informs me that there is a pipelined request involving swank:simple-completion. The repl freezes up, and it's a pain to get out of. Any ideas on how to fix it?
1:56:09
tsandstr
It works as expected when I run sbcl from the command line. The issue only arises when using SLIME.
2:19:39
oni-on-ion
READ with no args expects user input btw, i won't assume that you did not know this if it is indeed why it seems like it is freezing up
2:23:58
lispy2
hey are people around? im having trouble hooking up emacs to my sbcl instance on fedora 29 and was looking for people to get ideas from
2:26:37
voices
it seems that the order of (let ...) (labels ...) (macrolet ...) etc. in a function doesn't matter, but is there a standard order / best practice ?
2:27:38
vsync
ACTION just knows he had a let-when macro and was annoyed when he found out The Done Thing is when-let
2:29:11
tsandstr
oni-on-ion: I know that read expects input. It lets me type a few characters before freezing. Pressing <C-g> lets me type one more character, so by doing that every other character I can brute force my way through. It's a pain thouugh
2:30:11
oni-on-ion
tsandstr, this is strange. i suggest try install a new slime, which could explain the swank request message
2:37:15
tsandstr
oni-on-ion: I updated SLIME, still no luck. Although I have realized that if I disable auto-complete-mode in the repl, the issue goes away.
2:41:36
oni-on-ion
not sure if that will make any change, but, i am also using paredit and snoopy-mode for slime so a lot of things should just work
2:41:56
oni-on-ion
it feels like a version mismatch somewhere as i've had swank complaints fixed with similar actions previously
2:42:42
tsandstr
oni-on-ion, do you know what the variable slime-inhibit-pipelining does? I read the short description in the help and I don't quite understand it. COuld tweaking that value help me out at all?
2:44:14
oni-on-ion
tsandstr, hmm very possibly that variable. i would look at some other settings and check emacs configs to make sure its closer to stock. i am on 2.23 =) but i've got some extensions enabled as well
2:45:21
oni-on-ion
here is my slime config for both of you if any of it helps: http://ix.io/1P1T/elisp
2:49:22
tsandstr
oni-on-ion: This is all of my SLIME related config: https://plaster.tymoon.eu/view/1459#1459