On 29.09.2012 00:20, Abdó Roig-Maranges wrote:
>
> Ok, I've been looking at it now. I'm sorry for the trouble... I should
> have been more careful.
>
> I've come up with three possible solutions:
>
> 1) Use something like this:
>
> http://stackoverflow.com/questions/8248698/recommended-way-to-have-2-modules-recursively-refer-to-each-other-in-lua-5-2
> It involves requiring modules inside the functions that use them.
>
> 2) Move the code in client.lua involving focus.history to a third
> location. this way screen.lua and client.lua can both require it.
>
> 3) Duplicate the code in screen.lua needed by client.lua.
>
> I like 1): it is simple, and requires no changes to the library. I
> attach a patch with this approach. What do you think?
I call "hack", but since I don't really have any better ideas: Merged, Thanks!
Also, thanks for reacting so quickly and sorry for me being slow.
Uli
--
A learning experience is one of those things that say,
'You know that thing you just did? Don't do that.'
-- Douglas Adams
--
To unsubscribe, send mail to [email protected].