On 10/31/05, Rob Kendrick <[EMAIL PROTECTED]> wrote: > On Sun, 2005-10-30 at 21:12 -0700, Peter Naulls wrote: > > In message <[EMAIL PROTECTED]> > > Michael Dales <[EMAIL PROTECTED]> wrote: > > > > > Hi there, > > > > > > I'd like to suggest a small change to the way ArcEm finds files - > > > made a bit more relevant due to hostfs stuff. Currently the default > > > assumption is that ArcEm looks for files in the current working dir. > > > On Mac OS X and Windows this is a broken assumption, as users will > > > click on an icon. I'd like to suggest that ArcEm looks in a directory > > > specified by a user configuration file. And in the X11 version it > > > just forces the user to cd before they run arcem. > > > > It's correct under Windows due to the way app launching normally works. > > I don't have any strong views about the matter, but clearly if it's > > going to break things on Mac OS X, it ought to be addressed. > > Certainly, short cuts to executables can also define their default > working directory. > > My stance on this is that from a purity sense, you should store user > configuration and such in the user's profile directory, as they may not > have write permissions to where ArcEm is installed.
Certainly I've thus far used macosx specific things in arcem for locations, and I've also hardwired where it looks (~/arcem) but the user might not want it there for asthetic reasons or whatever. And then having defs for every platform becomes a bit mad. I think just abstracting things like this out is a good thing. I need to look at Rob's suggested interface and check it maps reasonably well to Mac OS X's config file handling primatives. -- Michael ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel