freenode/#lisp - IRC Chatlog
Search
4:41:46
emaczen
iqubic: for &optional and key you can supply a third argument like (param default supplied-p) and check supplied-p if it was supplied or not
4:41:59
Bike
(defun test2 (&optional (o nil o-p)) (values o o-p)), then (test2) => NIL, NIL while (test2 nil) => NIL, T
4:45:33
Bike
lisp has multiple namespaces, and two of the more important ones are for variables versus for functions
4:46:08
Bike
in (f 1 2) it's looked up as a function, which is a separate space, so i tdoesn't care about the setq
15:19:51
Xach
http://report.quicklisp.org/2017-10-14/failure-report/stumpwm.html#stumpwm - is this a pending clx thing or something? where can i find xinerama otherwise?
15:23:12
jackdaniel
im on phone, didnt know stumpwm depends on xinerama - randr support is better covered in clx afaik. should I revert that?
15:25:37
jackdaniel
or we could make xinerama and randr files loaded depending on a specific feature
15:28:46
jackdaniel
(I did minimal checs if it doesnt break clx, didnt investigate all clx clients, probably I should test more)
15:30:51
jackdaniel
according to https://github.com/stumpwm/stumpwm/wiki/FAQ stump supports randr too
16:36:07
jackdaniel
hm, it seems that having xinerama and randr extensions loaded at the same time doesn't make clx stop loading, doesn't cause warnings etc