From: hanumizzle <han...@gm...> - 2006-07-02 08:23:25
|
On 7/2/06, Oleg <ya...@gm...> wrote: > h> On 6/29/06, hanumizzle <han...@gm...> wrote: > h> - To what degree should the config tolerate user editing? This raises > h> several issues: > > h> * Should the config program support the user's style of indentation > h> dynamically? > No, just use some default style, e.g. the style which X.Org developers > use in default xorg.conf, or something like that. > > h> * What if a user deletes SubSections for certain depths? How should > h> depth setting method handle this? Search for the ones that do exist? > IMHO this situation is more like user's mistake. > Can you generate missing sections automatically? Yes, but working with xorg.conf files gets very nasty, very fast. I *could* add the subsections if missing. I could also write a web server in COBOL if I really tried. :( To date, there is no Xorg module on CPAN. And they have nigh everything: CSV, fstab, XML, YAML (which I would have used if I knew about it earlier), MIME, etc., etc., etc. No Xorg config. But why? Because the format sucks, and I hate it. -- Remember that time Thotsakan punched Neil Bush in the dick? |