2010/6/14 Torsten Anders <[email protected]>

> Dear Raphael,
>
> thanks for sharing this mail.
>
>
>  I installed Aquamacs as indicated by the README file, however, when I
>> tried to run Mozart I kept getting a warning: "Aquamacs not found"
>>
> [snip]
>
>  the old version was apparently named "/Applications/Aquamacs Emacs.app",
>> whereas the latest Aquamacs is simply "/Applications/Aquamacs.app".
>>
>
>
> Renaming Aquamacs in the script would be an option. However, the new
> Aquamacs.app is out for only a short time yet and it only supports rather
> recent versions of MacOC (>= version 10.5.8).
>
>
I think supporting both names would be the way to go, of course, when
Aquamacs.app is found then this will be used (to preferr new versions of
aquamacs).


>
>  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?


Cheers,
Gustavo



>
> Best wishes,
> Torsten
>
> --
> Torsten Anders
> Interdisciplinary Centre for Computer Music Research
> University of Plymouth
> Office: +44-1752-586219
> Private: +44-1752-558917
> http://strasheela.sourceforge.net
> http://www.torsten-anders.de
>
> ;; required to have oz-mode defined in case I don't start oz but plain
> Aquamacs
> ;; path from Mozart.app
> (or (getenv "OZHOME") (setenv "OZHOME"
> "/Applications/Mozart.app/Contents/Resources/"))
> (setq interpreter-mode-alist (cons '("oz" . oz-mode) interpreter-mode-
> alist))
> ;; autoload "oz.el" if the functions oz-mode or run-oz are executed
> (autoload 'run-oz "mozart" "Run Mozart as a sub-process." t)
> (autoload 'oz-mode "oz" "Major mode for editing Oz code." t)
> (autoload 'ozm-mode "mozart" "Major mode for displaying Oz machine code."
> t)
> (autoload 'oz-gump-mode "oz" "Major mode for editing Oz code with embedded
> Gump specifications." t)
> (autoload 'oz-new-buffer "oz" "" t)
>
>
>
>
>
>
> On 14.06.2010, at 08:17, Raphael Collet wrote:
>
>  Hi guys,
>>
>> Here is an email I just received.  There are interesting indications on
>> how to solve the issue recently posted on mozart-bugs with the new version
>> of Aquamacs.
>>
>> Can someone take care of it?  Thanks a lot!
>>
>> Cheers,
>> Raphael
>>
>> ---------- Forwarded message ----------
>> From: David Sletten <[email protected]>
>> Date: Sun, Jun 13, 2010 at 11:35 PM
>> Subject: Mozart 1.4.0 install on MacOS
>> To: Raphael Collet <[email protected]>
>>
>>
>> Dr. Collet,
>>
>> I just installed Mozart 1.4.0 on my Mac running MacOS 10.6.3. Thank you
>> for creating the build, but I had a couple of minor issues which might be
>> mentioned in the README file:
>>
>> http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-macosx/README
>>
>> I installed Aquamacs as indicated by the README file, however, when I
>> tried to run Mozart I kept getting a warning: "Aquamacs not found"
>>
>> After poking around a little bit I discovered that the file:
>> /Applications/Mozart.app/Contents/Resources/script
>> had an incorrect (outdated) path to the Aquamacs application. The old
>> version was apparently named "/Applications/Aquamacs Emacs.app", whereas the
>> latest Aquamacs is simply "/Applications/Aquamacs.app".
>>
>> I modified the "detectAquamacs" function in the script as well as the
>> "exec" statement at the bottom of the file, and now everything seems to be
>> working properly.
>>
>> In the course of my investigation I also ran across 2 other items.
>> However, these are perhaps irrelevant to running Mozart in the conventional
>> way, i.e., clicking on the icon in the Applications folder:
>> 1. I  first inadvertently discovered and modified a file called ".script"
>> in the same directory above. The file appears to be identical to the
>> "script" file, but nothing happened by changing it. It was only after I
>> edited the "script" file that the problem disappeared. Is ".script" somehow
>> generated automatically by the build process?
>>
>> 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.
>>
>> Have all good days,
>> David Sletten
>>
>> P.S. Your email address in the README file is out of date.
>>
>> <ATT00001..txt>
>>
>
>
> _________________________________________________________________________________
> mozart-hackers mailing list
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>



-- 
Gustavo Gutierrez
_________________________________________________________________________________
mozart-hackers mailing list                           
[email protected]      
http://www.mozart-oz.org/mailman/listinfo/mozart-hackers

Reply via email to