On Sun, Jun 20, 2010 at 06:44:10PM +0100, Michael Treibton wrote:
> On 12 May 2010 11:44, Chris Bannister <[email protected]> wrote:
> > On Tue, May 11, 2010 at 10:59:25PM +0200, Frédéric Perrin wrote:
> >> bijoy: you may be more interested in fvwm2-devel, which sports 2.5.28,
> >> than in fvwm2 which has 2.4.20.
> >
> > Been wondering for a while why you have to alter your config file
> > when you upgrade fvwm? That is, after you upgrade fvwm you start getting
> > "Deprecated: ... " messages. Doesn't good design mitigate the necessity
> > for this.
> 
> i've noticed this as well. what would be nice, if is fvwm can be told
> to dump out the config once its read it in and converted over the new
> options.

I really don't see what the problem is.  Such changes are infrequent enough
that I really don't see how this is ever an issue.

This isn't ClamAV.  :)  They changed their config file every day or so a few
years back.

> is this possible?  then the user wouldn't need to know anythings changed. :)

No.  This is due mostly to how FVWM stores the information from your
~/.fvwm2rc file when it reads it in.  The information ends up scattered
across many different data structures, either in things like bit-fields
which represent a value, or setting an option in some other structure.
Traversing this, and making sense of it again -- when you have the original
file on disk -- would be expensive.

You can partially get some things from FVWM in their unaltered form.  Look
at the information FVWM sends when a module requests "Send_ConfigInfo".
That contains information about your colorset definitions, ModulePath,
ImagePath, etc., but this is incomplete, and you won't get a full fvwm2rc
file from it.

The only use I can see is if you're changing things at runtime.  But then,
like any good FVWM user [0], you would be using FvwmConsole to do this, and
then when you're happy with the effect, manually adding that to your
~/.fvwm2rc file anyway.  This not only has the same effect for what you're
asking, but it means I don't have to write any code to support it.  :)

Hoping this is an end to this conversation now.

-- Thomas Adam

[0] Apparently there is such a thing...

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

Reply via email to