freenode/#lisp - IRC Chatlog
Search
8:42:43
lukego
one more idea rattling around my brain is to somehow make (with-output-to-emacs (s) ...) optional. So if you'd just call e.g. (draw-rectangle* ...) directly in the REPL it would still give you the graphics when the evaluation ends. Somehow implicitly have a CLIM canvas for the extent of a SLIME invocation.
8:44:44
jackdaniel
draw-rectangle* takes the stream argument either way (and it is not default), you need to bind it somehow
8:46:25
jdz
lukego: How about merging that into WITH-ROOM-FOR-GRAPHICS (if I remember the name correctly)?
8:51:27
lukego
jackdaniel: true but maybe T could work? *standard-output* still be bound to a SLIME-OUTPUT-STREAM and we could hang CLIM methods on that?
8:53:38
lukego
jdz: hm not sure how that would work exactly. I guess the listener has a bunch of code all painting onto the same canvas and having to avoid clobbering each other here. in Emacs each drawing is a separate object and they are patched together like a collage
8:54:14
jackdaniel
it won't in this case I think. also, slime output stream does not have output recording
8:55:19
jackdaniel
you specialize the method invoke-with-room-for-graphics on slime-output-stream and wrap in with-output-to-emacs-stream instead
8:57:16
jackdaniel
instead of before you could make a trampoline, but that will work only for functions you provide methods for
9:06:03
jackdaniel
it was meant to abbreviate prodigy, but someone made a typo and it stands for a progidy ,)
9:23:43
splittist
I would be surprised if there weren't problems with the text stuff. It was working, then I tried to get smart (:
9:46:56
splittist
fiddlerwoaroof: if you used draw-text* directly, does the same thing happen? Also, generally, we should apply the transformations and clipping
11:39:55
lotuseater
hi there, after updating emacs and sbcl, then invoking slime i got a mysterious error
11:43:48
lukego
lotuseater: I think that I had this recently too, and the solution was to upgrade to a newer SLIME (or I suppose alternatively downgrade SBCL)
11:44:38
lukego
git clone https://github.com/slime/slime ~ && echo '(load "~/slime/slime.el")' >> ~/.emacs
15:36:48
Josh_2
beach: slow progress is better than no progress. I have been really dreading some work I had to do so I've been putting it off, right now I have sat down and I'm going to get it done :P
17:01:04
splittist
lukego: I can't seem to make with-output-as-presentation work. I get 'error in process filter: Symbol's function definition is void: assert'
18:05:00
splittist
Also, if you produce a giant image (by, for example, doing a format-graph-from-roots for all the subclasses of clim:design, emacs really doesn't like it ...
18:59:57
dieggsy
have any of you seen an issue with sly and ACL where it says polling ... infinitely
19:02:47
splittist
lotuseater: you need (from github) the nuddyco/McClim cloned into your quicklisp/local-projects/ (or wherever you put those things), then the nuddyco/slime somewhere in your emacs load-path, remembering to use the slime-clime contrib.
19:04:31
dieggsy
Xach: what OS are you on? i wonder if it's some weird macOS thing. normally i run linux
19:14:25
lukego
okay, sorry a bit late at night to backport that. maybe just load this file https://github.com/emacs-mirror/emacs/blob/master/lisp/emacs-lisp/text-property-search.el
19:16:02
lukego
weird. the function is in the manual anyway so I'm not sure whassap. https://www.gnu.org/software/emacs/manual/html_node/elisp/Property-Search.html
19:17:40
splittist
lukego: requiring text-property-search, and fixing a 'first' (-> car) and it works!
19:25:52
dieggsy
oh, i'm seeing an error in the inferior-lisp buffer: Error: Symbol "PACKAGE-LOCAL-NICKNAMES" not found in EXCL package.