On Saturday 24 March 2012 19:45:56 fuchur wrote:
> If i type in sawfish-client:
> 
> (assoc '(#<window 0>) '(((#<window 8a00003>) . Term) ((#<window 0>) .
> Mail) ((#<window 9000003>) . Office)))
> 
> it returns nothing,

It raises an error. Window objects have no read syntax: they print like 
#<window 8a00003> but that form is not a valid expression in programs. 
The window object related to a particular window id can be obtained with 
get-window-by-id.

> it returns like expected:
> ((<window 0>) . Mail)

It probably does not mean what you expect though: '(<window 0>) 
evaluates to a list containing the two symbols <window and 0>.

-- 
        Timo Korvola            <URL:http://www.iki.fi/tkorvola>

-- 
--
Sawfish ML

Reply via email to