I'm trying to debug the customize problems under mswindows and need some
input from someone who knows. Basically a popup menu encodes its result by
creating a misc_user_event with msic.function set to Qeval and misc.object
set to the thing to eval. Now as far as I can see this gets evaluated as
part of dispatch_event() which seems correct. Unfortunately widget-choose
appears to rely on the function *not* getting evaluated but rather
returning (eval ("<somthing>")).
For example with the menu item;
["Name" ("Name") t]
widget-choose relies on (eval ("Name")) being returned. Unfortunately under
mswindows the eval actually gets evaluated in dispatch_event and you get
the error "Inavlid Function "Name"".
Now actually the mswindows operation seems correct to me, but I don't
understand why it works under X - the event isn't evaluated somehow and all
works ok. Also unfortunately it *sometimes* works under mswindows and seems
to be timing related - for instance if I step through the lisp it works
perfectly. I really would like to fix this for 21.0 if at all possible so
any input appreciated.
andy
---------------------------------------------------------------------------
" .sigs are like your face - rarely seen by you and uglier than you think"
Dr Andy Piper, Technical Architect, Parallax Solutions Ltd
mail: andyp(a)parallax.co.uk web:
www.parallax.co.uk/~andyp