Re: [Sawfish] Need help by assoc with lists |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: <sawfish@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [Sawfish] Need help by assoc with lists
- From: fuchur <flohtransporter@xxxxxxxxx>
- Date: Mon, 26 Mar 2012 03:40:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :face:x-face:mime-version:content-type:x-mailscanner-spamcheck; bh=TuJt0wRfNblTuD2ui9Q84U3Zrgnq+NEIwOYuEr5fbqs=; b=uC7LD3W2Z038N4aSOTVkPWK6kWtuO9Kc9NmlI+tt4wprcm6jbqminvodA8XwL6c33h Ex4eikeTAIpX4HrESuquCAdRWjOmWxQC6YSDUo5gH413T0OGKcJTICgMyX+w9kXYZJ97 e4n/tc7sroauPkX9M64VJxAKjuAqpgsBaT3nRZbFqScr5X/jWt/rTozEYqgBzcC3tMo/ xu86/3PYw1YPosHNniGhjJJvO1WjgM7m5geBBHFjBe1q7wUoo59mdJyuwtBkyutvXl2j amUb1VlCns2RwbB2xL28f+u0WHZKuqhJz/fyScA5j+/wLpC/FSZKVnCUHRxCM26CW0H/ QQIw==
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXo6dXi2qlaWEv9/+78//DLrYv889H/lWcuAAACA0lEQVQ4ja2TQW7jMAxF5RbxWmwhrRMB3jtQ6gskBzAVMGupQXT/I8ynZU+n08xuGDhG8vSpL5IycYszPkucLvpt4ik+DQVPkWmvywYv5z8Uz1NNHdFrjCP5bJqHFYxOhMgRUSHawEkVImyJyfhaa59/a0yEwjom/b9Wsl+uAOYvQO+TMRsILL4o8JU6zmS7BYgEYVJFUQPOZ3JzA0nYU1WAVGJ3WNcAfFHfQHXCKbCzK0jhpjv7Whzhh5A7bSD0tfgsDBDCQNwU/BkgKRVcHFYNNKMkAHMXllwAg6hCoDhCbuvLIZuc31SBB0sb8FO8d2TMMQy1SwMnhqsPZPX3uFY/54It35hmIywKRlrANOlJnJAYPApyX02vxZuSWmYxTkGN9xhrVVDSoGutcSg7yMdtcvcMy106ALA1cAF39WU/pUPuUV24JXk1Zsc7djzJDV6LJYdKOfKo7s4fxc3I8WDvyOm5Hb/rlET00KLqpVZWgVbl2iZxJ1vHtSCIYW7ggQ6uAF3ady4JwPmkYPkfhx5SeEd5VvCxgrJsjaNOa6rjBrQXVz0+NTAqKAowBxjcc3Tr/YAtSpgtgNezgh0AXnHU5AFFG7gN7tgUp2hDi+t2TzfQ04N1buLfYCzFE1n5cTnHPldTH9fvQHe3aN8x3X9eZ6eG9/EnWObx28028R/xH8EvDGr5+fmwfm8AAAAASUVORK5CYII=
- Organization: W.W
Hi,
On Sun, 25 Mar 2012 21:19:33 +0300
wrote Timo Korvola <Timo.Korvola@xxxxxx>:
>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
Attachment:
signature.asc
Description: PGP signature