Hi,

I am pretty new to ion so forgive me if I might have missed
something, but the documentation I have found on the web confused
me since it was hard to distinguish between ion and ion-devel.

I am using ion-devel 20030606 and I have some problems configuring
kludges.

For example I have several frames to contain my Gimp's windows. Of
course there cannot be a frame for every single window that the
Gimp comes up with. So here is what I put in kludges.lua:

--------8<--------------------
winprop{
        class = "Gimp",
        instance = "*",
        switchto = true,
        target = "gimp_misc",
}

[several other gimp windows are sent to different frames]
--------8<--------------------

Now my Problem is that the Windows appear in the frame, but they
are tabbed in the background and I have to bring them up manually
although I would expect 'switchto = true' to do that
automatically. Is there a workaround?



And another thing. How do I get these fancy queries that are used
by QueryLib.query_runfile and the like? For instance I want to be
able to press a key and be queried for a list of files to open
with xli and I want file name completion. I found a hint how to do
that on the Wikiwiki page, but it obviously referred to an ancient
version of ion.
It's got something to do with share/ion-devel/querylib.lua,
doesn't it? I tried this, but could not get it to open the file
specified:

--------8<--------------------
QueryLib.query_vim=QueryLib.make_execwith_fn(
    "gvim:", nil,
    make_exec_fn("gvim"),
    QueryLib.file_completor
)
--------8<--------------------

Thanks for help.

:wq


Reply via email to