Emacs 20.7 and Mozart 1.2.4

Thorsten Brunklaus brunklaus at ps.uni-sb.de
Mon Nov 4 11:02:09 CET 2002


Hi,

The Emacs does  not know the oz mode by default. Insert

(setq load-path (cons (concat (getenv "OZHOME") "/share/elisp") load-path))

(setq auto-mode-alist
      (append '(("\\.oz\\'"  . oz-mode)
  ("\\.ozg\\'" . oz-gump-mode)) auto-mode-alist))

(autoload 'run-oz "oz" "" t)
(autoload 'oz-mode "oz" "" t)
(autoload 'oz-gump-mode "oz" "" t)
(autoload 'oz-new-buffer "oz" "" t)

into your .emacs. This will enable the oz mode. Otherwise, start the
emacs using the "Oz Programming Interface" from the start menu.

2. Did you use the current packages from our server? I tried both
emacs and mozart on a fresh windows system and was unable to produce
the reported behaviour. Please try downloading them again.

Regards,
  Thorsten Brunklaus.

----- Original Message ----- 
From: "HALA MOSTAFA" <halamostafa at hotmail.com>
Newsgroups: mozart-oz.users
Sent: Sunday, November 03, 2002 2:32 PM
Subject: Emacs 20.7 and Mozart 1.2.4


> Hi everyone
> I recently installed Emacs 20.7 then Mozart 1.2.4. But Emacs does not seem 
> to be aware of Mozart's existence; oz files are not syntax colored, and the 
> Oz menu is not there. I tried the following, but none of them worked:
> 1. I modified the files.el file in Emacs\lisp directory and added an entry 
> for .oz extnesion and oz-mode.
> 2. Following the instructions in Mozart documentation regarding "Invoking 
> the OPI From Within Emacs", I created a file called _emacs containing the 
> lines given in the documentaiton. I tried putting this file in c:/ as well 
> as in the Emacs directory
> 3. I added Mozart's elisp directory to the EMACSLOADPATH key under Emacs 
> entry in the registry, so that on starting, Emacs will load all el files in 
> this directory.
> 4. When all else failed, i manually loaded all el files in the 
> Mozart/share/elisp directory. Syntax coloring was done and the Oz menu 
> appeared, but when i tried to feed buffer, i got the following message 
> "Spawning child process: invalid argument".
> 
> Another possibly helpful observation is that when i start Emacs itself, not 
> through oz.exe, i get the following message "Cannot open load file: 
> sml-site"
> 
> I remember that it used to be that my previous Emacs (20.4) did not need any 
> intervention to tell it how to deal with Oz files, so is this a problem with 
> 20.7 ??
> Thank you
> 
> 
> 
> 
> 
> _________________________________________________________________
> Get faster connections -- switch to MSN Internet Access! 
> http://resourcecenter.msn.com/access/plans/default.asp
> 
> -
> Please send submissions to users at mozart-oz.org
> and administriva mail to users-request at mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list