2010/6/14 Torsten Anders <[email protected]> > Dear Gustavo, > > > On 14.06.2010, at 10:04, Gustavo Gutierrez wrote: > >> 2. I also discovered a reference to the OZEMACS environment variable. This >>>> appears to be used only when running "oz" from the command line. After >>>> properly setting this variable I now get Mozart running via Aquamacs when I >>>> launch it via the command line in Terminal. >>>> >>> >>> Yes, I set that myself as well together with some other things. After >>> these settings are made, Aquamacs can be started and then Mozart started >>> later from within Aquamacs (which is not possible when the current Mac >>> package file as-is). See code below at the end of this mail. Actually, I >>> reported this here before in 2007, but so far it did not make it into the >>> *.dmg file. Gustavo? >>> >> >> The point is than then installing mozart using the bundle will modify >> particular emacs preferences (e.g. .emacs file). My first idea about this >> was to keep mozart installation completelly independent of any other thing. >> Of course mozart and emacs are tigth so I can add yur code and modify the >> file during the first launch of mozart after asking the user. What do you >> think? >> > > I understand your hesitation. At maximum we need one additional line in > ~/.emacs in order to load a file with the required code. > > Yes I agree with you. I am not very good at writing shell scripts but I will try to modify the script to do that Then let me summarize the things that it should do:
- The first time it is launched: * Look if is the first time it is launched (probably by greping for the line you suggest in the .emacs file). The problem of this is when the user says do not modify .emacs. In this case we still need to modify some file to store this preference and to not ask again. * Set up the everything as you suggested before. - Any other time * Just launch mozart. I would also suggest (but currently I don't kow how to do that) is to make some option available to "install command line tools". This will be very helpful because it will make the compiler and the emulator available from the console. Of course it will also imply to modify yet anotherfile ~/.profile. What do you think? Regards, -- Gustavo Gutierrez
_________________________________________________________________________________ mozart-hackers mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
