On Thu, Aug 02, 2007 at 08:37:21AM +0200, Andreas Bernauer wrote:
> Etan Reisner schrieb am Di, 31. Jul 2007 um 13:58 (-0400):
> > > Copy /usr/local/etc/ion3/cfg_tiling to your ~/.ion3 and modify it.
> >
> > No, do not copy random system files into ~/.ion3 only copy cfg_ion.lua,
> > cfg_statusbar.lua, and cfg_dock.lua. Leave the rest in the system
> > locations and override the bindings in cfg_ion.lua or in any other file
> > you want as long as you dopath("") it from cfg_ion.lua.
>
> Could you give me any special reasons for your suggestion, just out of
> curiosity?
>
> Andreas.

Short version: Easier to maintain across upstream changes.

Long version If you copy the entire cfg_tiling.lua into .ion3 and then a
function name changes your carefully copied and modified version will be
broken. And you will have no idea why. Essentially you become forced to
watch the changelog very carefully and diff your version against the
system version after each new release. If, on the other hand, all you do
is create secondary config file (e.g. cfg_my.lua or my_tiling.lua) then
when versions change you only need to worry about changes to the bindings
you have actually customized (and perhaps any newly added system bindings
that take precedence over yours, but that is much easier to notice and
fix). Unless you intend to change the majority of the existing bindings it
is, as far as I have ever been concerned, a net loss to copy the system
files in.

        -Etan

Reply via email to