POV-Ray : Newsgroups : povray.unix : pov-mode is not working in new emacs. help! Server Time
28 Jul 2024 16:18:17 EDT (-0400)
  pov-mode is not working in new emacs. help! (Message 1 to 4 of 4)  
From: Nieminen Juha
Subject: pov-mode is not working in new emacs. help!
Date: 27 Aug 1999 07:59:39
Message: <37c67dab@news.povray.org>
They installed a new version of emacs in this system and the fontifying
(ie. coloring of keywords) of the pov-mode stopped working. Comments are
colored as usual, but nothing else.
  The version of emacs is:
GNU Emacs 20.4.1 (sparc-sun-solaris2.7, Motif) of Tue Aug 17 1999 on korppi
  The version of the pov-mode.el seems to be 1.3.

  I tried the modified version of pov-mode.el posted in binaries.utilities,
but no difference. It seems to be the same version with only little
modifications (added keywords etc).

  Can anyone help me?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: The solution (Was: pov-mode is not working in new emacs. help!)
Date: 27 Aug 1999 09:34:01
Message: <37c693c9@news.povray.org>
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 -*/


Post a reply to this message

From: Jon A  Cruz
Subject: Re: The solution (Was: pov-mode is not working in new emacs. help!)
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

From: Nieminen Juha
Subject: Re: The solution (Was: pov-mode is not working in new emacs. help!)
Date: 30 Aug 1999 02:50:42
Message: <37ca29c2@news.povray.org>
Jon A. Cruz <jon### [at] geocitiescom> wrote:
: 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).

  Sorry, I have no idea about those.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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