POV-Ray : Newsgroups : povray.unix : Emacs POV-Ray mode : Re: Emacs POV-Ray mode Server Time
29 Jul 2024 02:34:09 EDT (-0400)
  Re: Emacs POV-Ray mode  
From: Kenneth Johansson
Date: 17 Apr 1999 19:15:35
Message: <371904D5.58C946FA@canit.se>
Mark Gordon wrote:

> Kenneth Johansson wrote:
>
> > I have put this in my .emacs file but it dose not work very well I get no
> > syntax coloring.
> >
> > --------
> > (autoload 'pov-mode "pov-mode.el" "PoVray scene file mode" t)
> > (setq auto-mode-alist
> >       (append '(("\\.pov$" . pov-mode)) auto-mode-alist))
> > (setq auto-mode-alist
> >       (append '(("\\.inc$" . pov-mode)) auto-mode-alist))
> > --------
>
> Try adding:
>
> (setq pov-fontify-insanely t)
>
> I've gotten it to work, after a fashion, though I'm minded to tweak it
> quite a bit more.
>

Yes I have tried that.

This is how a trace on all functions look like when I load a pov file.
-------
1 -> pov-mode:
| 2 -> pov-setup-syntax-table:
| 2 <- pov-setup-syntax-table: nil
| 2 -> pov-setup-font-lock:
| 2 <- pov-setup-font-lock: (("\\<\\(a\\(a_\\(level\\|threshold\\)\\|bs\\  --
alot of this


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.