Re: HUGSROOT in version.c

"Sigbjorn Finne" <[email protected]> Fri, 27 Jan 2006 07:27:51 -0800
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <08af01c62356$3d8ce000$6a01a8c0__14766.5686825805$1138375694$gmane$org@soflap>
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" <[email protected]>
To: <[email protected]>
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
> [email protected]
> http://www.haskell.org/mailman/listinfo/cvs-hugs