7:41:04meepdeewis there an easy way to bind cursor position within BIND-BUTTON for trivial-gamekit?
7:43:42meepdeewor rather, just access the value. Or in a case like this does one just store those coords anytime the mouse had moved previously and reuse that value?
7:44:47phoemeepdeew: #lispgames might be able to answer better
10:26:38knoboI suddenly realized that often I do (let ((key (getf var :key)) when I could have done (destructuring-bind (&key key &allow-other-keys) var..
10:30:09pjbWhat you should have done if you do it often, is (defmacro with-key ((key-var plist) &body body) `(let ((,key-var (getf ,plist ,(intern (symbol-name key-var) "KEYWORD")))) ,@body)) and write (with-key (key var) …)
11:42:54knoboThe former is shorter if I only bind one value. And often more to the point.
13:39:25beachXof: How many person-hours do you think have been spent to get SBCL to where it is now, including work on Spice Lisp and CMUCL? I am interested in comparing such a number to the number of hours of my remaining life expectancy. :)
14:02:28Bikei guess to do it "right" you'd have to call read and get an eof value back
14:03:57luisIt basically calls forward-sexp repeatedly to detect if there's an incomplete sexp. For some reason, it assumes the expression is complete if it doesn't match this regex: "\\s *['`#]?[(\"]".