Thanks for your opinion. I knew I was not gonna be all correct, but I made
my point.

Problem is that when the data structure would change, you'll be screwed.
> Not saying that this is less powerful.
>

Yes, and so am I when the rc.lua itself changes, no? I just think that from
practical point of view, config file (and the structure of it) wouldn't
change as much and also it's more transparent IMHO. Like separated data and
code... I'm not saying that my approach is correct or good, but I see it
that way.

If you want to go to a flat configuration file that never change, which
> is definitely an option for some people, someone should stand up and
> write a small file parser to build flat file based configuration.
>

I'm still talking about full-fledged Lua config file. Lua is good. I just
ment separate "data" from "code" or "config" form "what implements it".
Something like Beautiful themes. I think this approach can make life
easier... sometimes.

Anyway, I plan to make configuration file as compatible as possible
> between version. What you're saying about statusbar->wiboxes is
> partially wrong since this is not a change _needed_ to run
> awesome-git/3.1.
> It will just print a deprecation warning until awesome 3.2,
> where it will break.
>

Ok, it was just an attempt of an example :P. My awesome broke with the last
update I did, as usual. It was probably caused by the change of the widget
definitions from widget:buttons to widget.buttons = { ... }... I'm really
having a hard time keeping up with all this, because I'm quite busy anyway.
My bad...

David

On Mon, Oct 27, 2008 at 6:19 PM, Julien Danjou <[EMAIL PROTECTED]> wrote:

> At 1225124320 time_t, dante4d wrote:
> > Now I wouldn't mid how rc.lua builds my wibox as long as it accepts same
> > format of table structure to build it (and I'd say this doesn't change
> very
> > often for widget types etc.).
>
> Problem is that when the data structure would change, you'll be screwed.
> Not saying that this is less powerful.
>
> If you want to go to a flat configuration file that never change, which
> is definitely an option for some people, someone should stand up and
> write a small file parser to build flat file based configuration.
>
> Anyway, I plan to make configuration file as compatible as possible
> between version. What you're saying about statusbar->wiboxes is
> partially wrong since this is not a change _needed_ to run
> awesome-git/3.1.
> It will just print a deprecation warning until awesome 3.2,
> where it will break.
>
> (that does not mean that all compatibility layer are here and will be, I
> do and will do as much as I can).
>
> Cheers,
> --
> Julien Danjou
> // ᐰ <[EMAIL PROTECTED]>   http://julien.danjou.info
> // 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkkF+C4ACgkQpGK1HsL+5c1H8gCfeMT8QnE2wLSYh1UoZ5kewTfQ
> MoAAn3HicQfe9geKLDDkHtZND4OhWUwR
> =gWGM
> -----END PGP SIGNATURE-----
>
>

Reply via email to