POV-Ray : Newsgroups : povray.unix : Emacs POV-Ray mode Server Time
29 Jul 2024 00:26:42 EDT (-0400)
  Emacs POV-Ray mode (Message 11 to 20 of 20)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Peter Toneby
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 21:44:54
Message: <3713E506.A57C0CD6@acc.umu.se>
Roland Mas wrote:
> 
> Peter Toneby <woo### [at] accumuse> writes:
> 
> > I took the liberty to update and post it yesterday ;)
> > It's in povray.binaries.utilities
> > It' not complete and it probably needs a few extra enhancements, like
> > better syntax highlighting and a good check for all keywords (I don't
> > think I got all new ones into it), and atmosphere should be put back in
> > for backwards compatibility.
> > I named it v1.99beata1 because of the (probably) missing keywords.
> 
> Um...  I can't seem to byte-compile this file.  I'm using GNU Emacs
> 20.3.1 on Linux.  I can't seem to run it even without byte-compiling
> either.  Too bad for me, I guess.

yes ,but it would be alot easier to help if you included what emacs
tells you is wrong. I can't promise any help I don't know elisp, but
well someone else might know something.

/Peter


Post a reply to this message

From: Nieminen Mika
Subject: Re: How do I use pov-mode.elc? (Was: Emacs POV-Ray mode)
Date: 15 Apr 1999 13:39:27
Message: <3716163f.0@news.povray.org>
Peter Toneby <woo### [at] accumuse> wrote:
: the add-hook turns on font-lock (syntax highlighting)

  I don't get any syntax highlighting. Why?
  If I press M-x font-lock-mode then it works but not by default.

-- 
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: Peter Toneby
Subject: Re: How do I use pov-mode.elc? (Was: Emacs POV-Ray mode)
Date: 16 Apr 1999 18:03:34
Message: <3717A5A4.BC169587@acc.umu.se>
Nieminen Mika wrote:
> 
> Peter Toneby <woo### [at] accumuse> wrote:
> : the add-hook turns on font-lock (syntax highlighting)
> 
>   I don't get any syntax highlighting. Why?
>   If I press M-x font-lock-mode then it works but not by default.

hmm, I don't know, and unfourtunatly I don't think I can help ;(
in xemacs I think you might be able to save font-locking for default,
and you might have to set it for color, it might be set for font
(different font-styles).
In emacs I don't know except editing te .emacs file.

/Peter


Post a reply to this message

From: Kenneth Johansson
Subject: Re: Emacs POV-Ray mode
Date: 17 Apr 1999 16:04:09
Message: <3718D9A4.792ADEC7@canit.se>
Roland Mas wrote:

> Peter Toneby <woo### [at] accumuse> writes:
>
> > I took the liberty to update and post it yesterday ;)
> > It's in povray.binaries.utilities
> > It' not complete and it probably needs a few extra enhancements, like
> > better syntax highlighting and a good check for all keywords (I don't
> > think I got all new ones into it), and atmosphere should be put back in
> > for backwards compatibility.
> > I named it v1.99beata1 because of the (probably) missing keywords.
>
> Um...  I can't seem to byte-compile this file.  I'm using GNU Emacs
> 20.3.1 on Linux.  I can't seem to run it even without byte-compiling
> either.  Too bad for me, I guess.
> --
> Roland Mas
>
> Mou ichido !  Hayaku !  Ookii koede !
>   -- Atsuko Sasaki

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))
--------


Post a reply to this message

From: Mark Gordon
Subject: Re: Emacs POV-Ray mode
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

From: Kenneth Johansson
Subject: Re: Emacs POV-Ray mode
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

From: Mark Gordon
Subject: Re: Emacs POV-Ray mode
Date: 17 Apr 1999 20:05:42
Message: <371913CE.36F9CE75@mailbag.com>
Kenneth Johansson wrote:
> 
> > 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.

OK, do you have:

(add-hook 'pov-mode-hook 'turn-on-font-lock)

in your .emacs?

-- 
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

From: Kenneth Johansson
Subject: Re: Emacs POV-Ray mode
Date: 17 Apr 1999 20:36:10
Message: <371918A5.888BA1E1@canit.se>
Mark Gordon wrote:

> Kenneth Johansson wrote:
> >
> > > 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.
>
> OK, do you have:
>
> (add-hook 'pov-mode-hook 'turn-on-font-lock)
>
> in your .emacs?

Yes.

I wonder what happend to my last posting. Only parts of it showed up.

here it is again

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

From: Kenneth Johansson
Subject: Re: Emacs POV-Ray mode
Date: 17 Apr 1999 21:09:00
Message: <37191C76.7783035B@canit.se>
Kenneth Johansson wrote:

> Mark Gordon wrote:
>
> > Kenneth Johansson wrote:
> > >
> > > > 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.
> >
> > OK, do you have:
> >
> > (add-hook 'pov-mode-hook 'turn-on-font-lock)
> >
> > in your .emacs?
>
> Yes.
>
> I wonder what happend to my last posting. Only parts of it showed up.
>
> here it is again
>
> 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

hmmm       no I dont get this ???  I have a full copy in my sent box but this is
all I get in the news folder. Anyone getting the rest or dont it leave my
system.

This line is followed by two lines with only one . on both as that is the next
that should be in the message.


Post a reply to this message

From: Spider
Subject: Re: Emacs POV-Ray mode
Date: 17 Apr 1999 22:24:25
Message: <3719332A.BDCF2A4C@bahnhof.se>
> hmmm       no I dont get this ???  I have a full copy in my sent box but this is
> all I get in the news folder. Anyone getting the rest or dont it leave my
> system.
> 
> This line is followed by two lines with only one . on both as that is the next
> that should be in the message.

in SMTP a single line with only a dot on is used to "send message" thus
terminating all other sendings...

Any clearer because of that?
(bug in your send-program)

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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