HUGSROOT in version.c

Sigbjorn Finne sof at galois.com
Fri Jan 27 10:27:51 EST 2006


Option :settings come and go, and it is
not unusual to use different versions of Hugs
across projects. If you persist the options in
one spot, you're in trouble. The interpreter
used to simply exit if it came across unknown
options, now it simply complains&continues,
I think. 

This may not matter any more, but it certainly
used to.

--sigbjorn

----- Original Message ----- 
From: "Ross Paterson" <ross at soi.city.ac.uk>
To: <cvs-hugs at haskell.org>
Sent: Friday, January 27, 2006 06:56
Subject: Re: HUGSROOT in version.c


> On Fri, Jan 27, 2006 at 02:03:09PM +0000, Neil Mitchell wrote:
>> In version.c, HUGSROOT is defined as:
>> 
>> #define HUGSROOT ("SOFTWARE\\Haskell\\Hugs\\Winhugs" VERSION_STRING
>> "\\")
>> 
>> This means that the settings from one installation of Hugs do not
>> persist when the user installs a new version. This is unfortunate as
>> it means that when people upgrade, they will loose all their
>> preferences such as text editor, along with their hugs options as
>> well.
>> 
>> Is there a good reason for this behaviour? Are options between
>> different versions really totally incompatible?
> 
> Beats me.  This has been there since the dawn of time (Dec 1996),
> so I don't know if anyone knows.
> 
> Options don't change very often, and we use warnings for a while for
> the ones we remove, so that shouldn't be a problem.  It's up to you.
> 
> _______________________________________________
> Cvs-hugs mailing list
> Cvs-hugs at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-hugs


More information about the Cvs-hugs mailing list