POV-Ray : Newsgroups : povray.unix : pov-mode is not working in new emacs. help! : Re: The solution (Was: pov-mode is not working in new emacs. help!) Server Time
28 Jul 2024 18:16:31 EDT (-0400)
  Re: The solution (Was: pov-mode is not working in new emacs. help!)  
From: Jon A  Cruz
Date: 27 Aug 1999 11:38:24
Message: <37C6B18F.A35516DC@geocities.com>
Nieminen Juha wrote:

>   After much searching and trying, I finally got the solution. Just before
> the line:
>
>   (run-hooks 'pov-mode-hook))
>
> add these two lines:
>
>   (make-local-variable 'font-lock-defaults)
>   (setq font-lock-defaults '(pov-font-lock-keywords))
>
>   Now it's fontifying ok.
>   Phew!
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/

Nice.
Thank you!

See if you can be sure to get with Peter Toneby to get these changes back in.
The main problem is that he uses Xemacs and we are using GNU emacs.

Oh, and if you might have the time... :-)    When I byte-compile-file on it,
I get warnings. Maybe you can figure these out? (I'm a novie emacs user and
dont understand it too well yet).

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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