POV-Ray : Newsgroups : povray.unix : Emacs POV-Ray mode : Re: Emacs POV-Ray mode Server Time
29 Jul 2024 02:21:38 EDT (-0400)
  Re: Emacs POV-Ray mode  
From: Mark Gordon
Date: 17 Apr 1999 17:37:17
Message: <3718F100.5073AA70@mailbag.com>
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.

-- 
Mark Gordon
mtg### [at] mailbagcom
http://www.mailbag.com/users/mtgordon/index.html

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/S d-- s-: a- C++$ UA+$ UH+$ UO+$ US+$ UL++++ P+++ L++(+++) E W++ N+
o-- 
K++ w---$ O- M$ V--$ PS++ PE- Y+ PGP->+ t+ 5++ X R+ tv-- b++ DI++$ D+ G 
e++>++++ h- r*%-- y-
------END GEEK CODE BLOCK------


Post a reply to this message

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