Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!cs.utexas.edu!uunet!cbmvax!eric From: eric@cbmvax.UUCP (Eric Cotton) Newsgroups: comp.sys.amiga Subject: Re: Mymenu, ET and SF! Message-ID: <8252@cbmvax.UUCP> Date: 24 Oct 89 19:50:48 GMT References: <2259@nigel.udel.EDU> <7289@sdcsvax.UCSD.Edu> <20763@usc.edu> <165@ra.abo.fi> Reply-To: eric@cbmvax.UUCP (Eric Cotton) Organization: Commodore Technology, West Chester, PA Lines: 25 In article <165@ra.abo.fi> rosenber@ra.abo.fi (Robin Rosenberg INF) writes: >Proposition: There is a program for setting preferences: Preferences. Setting >the preferences from another program is like things behind the users' >back. AtalkIII (or any other program that needs saving preferences) should >have its OWN configuration file. It may accept default settings from >preferences but it should DEFINITELY NOT change the preferences. Saying MyMenu >is a kludge is no excuse for a badly behaved program. And that other programs >do the same misstake is no excuse either. I cannot swear on it, but I think >MyMenu has to be a kludge with the current OS version. > > Back to preferences: The RKM says you shouldn't do SetPrefs() since that is >pulling the rug from beneath the users feet. Now we see what happens. (It >seems ATalk has its kludges too...) Agreed on all counts. SetPrefs() was originally intended to be Intuition private. Notice that there is no mention of this function in the Addison- Wesley AMIGA Intuition Reference Manual. Since it *is* documented in the ROM KERNEL manual, the secrets out. I would, however, recommend that you avoid using SetPrefs() for the reasons Robin gave above. All you forward- thinkers (1.4) might want to avoid the function too (hint, hint). -- Eric Cotton Commodore-Amiga (215) 431-9100 1200 Wilson Drive {uunet|pyramid|rutgers}!cbmvax!eric West Chester, PA 19380 "I don't find this stuff amusing anymore."