Dear Torsten,

I'm sorry that ozfind does not (yet) work on your system.
I hope I didn't accidentally introduce a local dependency or something similar...

If Emacs ends up in dir mode, this usually means that "ProcedureFinder.ozf" crashed early with an exception. This exception is written into a temporary Emacs buffer. Usually this buffer is closed after execution. To make sure that we can see the exception, please change the Lisp function oz-find-procedure in ".emacs" like this:

     ;; show source code
     (let ((cl (string-to-number (thing-at-point 'line))))
(forward-line) (let ((cc (string-to-number (thing-at-point 'line))))
         ;; (kill-buffer nil)          ;; OUT-COMMENT THIS LINE
         (if (string= fn "self")
         (switch-to-buffer cb)
       (find-file fn)
       )

Re-evaluate oz-find-procedure or restart Emacs.
Now try to use ozfind.
Afterwards look at the contents of the buffer "*TEMP*" (or "*TEMP*<X>").

Cheers,
 Wolfgang


Torsten Anders wrote:
Dear Wolfgang,

thanks for your tool and sorry for my late reply.

Unfortunately, I was not able to install ozfind successfully. Regardless of what I ask from ozfind, it appears that I always end up in dir mode (which -- you told before -- means that ozfind crashed). I tried both with and without setting the args --mozart-sources etc, I tried removing my OZRC, and I tried removing my arg --linkPattern -- still, no success.

Is there a way to enable debugging information, so I could give you a more informative error description?

Thank you!

Best
Torsten

PS: I am using your latest version (just downloaded ozfind 0.1), Mozart Compiler 1.3.99 (20070703), and Aquamacs Distribution 1.3a, which is based GNU Emacs 22.1.91.2 -- all running on MacOS 10.4.10.


On Mar 17, 2008, at 9:53 PM, Wolfgang Meyer wrote:
Dear all,

I finished a new version of my code navigation tool, which from now on
is called "ozfind".

ozfind is a source code navigation tool and documentation finder for
Mozart/Oz, integrated into GNU Emacs.

Besides a number of bug fixes, it contains two new important features:
- It is now possible to navigate to the source code of methods (with
some limitations).
- You can now look up the documentation of system functions directly in
Emacs (with Emacs-w3m installed).

Download: http://code.google.com/p/oz-code/

README: http://ozfind.jottit.com/

Cheers,
  Wolfgang

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

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-233667
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de




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


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

Reply via email to