Re: [Sawfish] Beginner's Rep Question |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] Beginner's Rep Question
- From: Timo Korvola <Timo.Korvola@xxxxxx>
- Date: Fri, 01 Feb 2013 13:09:13 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=EUJSIJEe+aCJKEgqMe/IbPoUWNzTCJLCfUl0Or3riJk=; b=nEgKX3lMjPLhGEfGGM8hPESmEVihj98YNpga1Hr0zp3iNJa01S9Zg9yR5tkxBqx5ME nKwChDH6Etkm6RgtQYb1nsyQAvgL3lYwY19uxg+vk+K8tEZomyDtKEn343Yf05K0viRJ b17t1+6z1QP6I2k0ot4m6wuEBFfYD+CbvD9ovOsDMA265ZKqEFxS0oavZs/8egxyyd9g iLHwKx4uN+lwq+5mvonXOYwYWqUTu0UoHjDiZb53RBM9j8GChJkWuFaUaclAvqQcVY47 sG2UwnWBvK80nzEewsHEQ6vnEc3oM4frSKgqUZ31uL397KFUK2NLStqWaek/1A64HoOY XKhw==
On 31.01.2013 00:42, Richard wrote:
(rplacd (nth 2 (nth 3 b)) 100)
-> shows (right-edge . 100)
Now is where it starts to go wrong.
Indeed. Never use rplacd or any other destructive modifications on
shared data. Here you don't know what other windows might share the
same frame definition or parts thereof. Hence you need to make a copy
of the frame definition, modify the copy and install it with
set-window-frame.
Even so, your changes would be undone by reframe-window because it
rebuilds the frame definition from the frame style. It looks like you
need to define your own frame style, which involves providing a function
that constructs the frame definition. You should find plenty of
examples in the various themes.
--
Timo Korvola <URL:http://www.iki.fi/tkorvola>
--
Sawfish ML