Hi, On Sun, 25 Mar 2012 21:19:33 +0300 wrote Timo Korvola <[email protected]>:
>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>. > Ok. I use "window-id" and "get-window-by-id" now. "get-window-by-id" is new for me. Thank you. -- Regards, Fuchur GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53 C116 E5BC 70D5 B8D7 B2B0
signature.asc
Description: PGP signature
