
Hi, 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? Thanks Neil

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.

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"
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@haskell.org http://www.haskell.org/mailman/listinfo/cvs-hugs
participants (3)
-
Neil Mitchell
-
Ross Paterson
-
Sigbjorn Finne