setting the default character element type
Hi,
I'm working on a project where I pretty much only deal with extended
character sets. From the docs I think what I'm supposed to do is to
call (set-default-character-element-type 'lw:simple-char) and from that
point on the default character set will be simple-char.
In the LWM 4.3.x version of this program I had:
(setf lw:*default-character-element-type* 'lw:simple-char)
as a top level form in a lisp file. In other words, it would be run
during delivery. Everything worked.
In LWM 4.4.0 if I do that I get a bus error immediately upon executing
the delivered application. If I make sure that the
(set-default-character-element-type 'lw:simple-char) expression is
executed at run time rather than compile time I don't get the bus error
(and I assume it is working).
Now, I'm not 100% sure this didn't happen in some versions of 4.3.x
(e.g. the evaluation/personal version). I 'ported' the Closure XML
package to LWM. I had no problem in LWM4.3 but the guys developing CXML
never got past bus and segmentation errors.
Cheers,
Bob
----
Bob Hutchison -- blogs at <http://www.recursive.ca/hutch/>
Recursive Design Inc. -- <http://www.recursive.ca/>