sharplispers / clx

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp
Other
116 stars 46 forks source link

demos should not be loaded automatically #69

Closed dkochmanski closed 7 years ago

dkochmanski commented 7 years ago

currently we include demo files in main distribution in demos module.

TeMPOraL commented 7 years ago

Probably causing #78.

uint commented 7 years ago

I don't think the demos are loaded together with the entire clx. In the clx.asd file they are defined as members of the example-source-file class, which overrides the perform method so that they're not loaded.

TeMPOraL commented 7 years ago

RE #78, they're still compiled, which seems to be causing the problem.

See: https://github.com/sharplispers/clx/blob/33d8c98c76e55945cc2754fff4a3c084d37a7090/input.lisp#L86

The macro define-extension spits out code that sets *extensions* variable during compile-time.

(Maybe I'm doing things wrong by using CLX in the same Lisp image that compiled it? Is it a standard thing to discard images after compilation?)

dkochmanski commented 7 years ago

fixed.