13:27:49heisigjmercouris: Another option is to add a mandatory 'client' argument to all your generic functions. Its value is initially provided by the user and then passed along.
13:28:21heisigSo you could have a (defgeneric make-buffer (client foo bar &key ...))
13:28:56heisigThis allows the user to create a very personalized version of your code.
13:29:33jmercourisI think we'll do the dynamic global var
13:29:45jmercourisand then make a thin veneer over defclass to emit global vars for speciallly marked slots
13:29:58jmercourisnot sure if that makes sense, but if it doesn't I can provide a code example
14:06:37shka__jmercouris: one trick i often see is to have slot with class-name symbol
14:07:02shka__so you can do (make-instance (class-symbol object) ...)
14:09:13shka__uhm, theoritically class name does not have to be symbol, but you know what i mean
14:40:10fivo_Why does (read-from-string "(let ((a '#1=(10 . #1#))) (nth 42 a))") result in infinite recursion and when I evaluate the expression in the REPL it runs fine?
14:40:29fivo_I thought REPL just does (eval (read exp))?
15:51:06beachrefpga: Please don't do that again. Use a pastebin service.
15:51:06sjl_also, if you're pasting more than 2-3 lines at once, it's generally better to use a pastebin. freenode rate limits so after the first couple of lines they start to slowly trickle in one-by-one
16:19:25fivo_but the link you send looks promising
16:20:00Bikeso like (source-line 'funcall)? that's not in the standard (which doesn't mandate implementations be open source, even) but common tools support similar functionality.
16:22:18fivo_I mean the read function would also need to be different.
16:24:44fivo_Essentially I wanted to know if there is something similar to READ that parses some expression but gives me also other types of information like source-line, column, original package of the symbol.
16:27:36Bikewell, you can try eclector and see. you can get information about the position of the funcall symbol in the code you read, but it won't tell you where the funcall function is defined.
16:31:02pjbnwoob: why do you assume we're using a laptop?
16:42:17Bikefivo_: in that case eclector would be helpful. though in this particular case, where you're reading from a string instead of a file, there's not a lot of source info to be had