On Thu, Jul 31, 2003 at 02:20:26PM -0400, Michael Denio wrote:
> I also don't see new_workspace in the on-line docs although Ion doesn't
> bitch so it must be valid.
There's no such function and Ion should complain about it to stderr when
you run it. It doesn't complain of it during startup (and thus in an
xmessage) because Lua is dynamically bound. (Actually you don't even
get complaints of foo=this_does_not_exist as this_does_not_exist simply
evaluates to nil being essentially the same as the table lookup
_G['this_does_not_exist'] given that it is not defined as a local
variable or so on. Trying to call a nil function would result in a
complaint though.)
The correct call is IIRC (my memory of the current release version is
fading :) region_manage_new(scr, {type="WFloatWS"}) and in the CVS
snapshot version scr:attach_new({type="WFloatWS"}).
The way to create floatws:s without binding new keys is to tell it in
the Mod1+F9 query: just precede the name of a new workspace with
'WFloatWS:'.
--
Tuomo