POV-Ray : Newsgroups : povray.unix : Emacs POV-Ray mode Server Time
31 Oct 2024 23:29:26 EDT (-0400)
  Emacs POV-Ray mode (Message 1 to 10 of 20)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Mark Gordon
Subject: Emacs POV-Ray mode
Date: 12 Apr 1999 21:46:44
Message: <371293F6.D50F0BFD@mailbag.com>
It seems a lot of people here use Emacs.  How much demand is there for
an officially distributed Emacs mode for POV-Ray?  Not that I'm making
any promises...

-- 
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: Marc Schimmler
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 04:36:15
Message: <3712F3ED.C56EEF81@ica.uni-stuttgart.de>
Mark Gordon wrote:
> 
> It seems a lot of people here use Emacs.  How much demand is there for
> an officially distributed Emacs mode for POV-Ray?  Not that I'm making
> any promises...
> 
> --
> 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------



For me ... lots!

Marc
-- 
Marc Schimmler


Post a reply to this message

From: Spider
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 05:34:11
Message: <37130071.2EA68018@bahnhof.se>
Well, I should learn emacs soon anyhow. Count me in.

Hmm, I hate NS4.5 in linux, it can't remember newsgroups for me :-(
*growl*


Mark Gordon wrote:
> 
> It seems a lot of people here use Emacs.  How much demand is there for
> an officially distributed Emacs mode for POV-Ray?  Not that I'm making
> any promises...
> 
> --
> 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------

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

From: Marc Schimmler
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 06:00:29
Message: <371307AA.90CD9294@ica.uni-stuttgart.de>
Spider wrote:
> 
> Hmm, I hate NS4.5 in linux, it can't remember newsgroups for me :-(
> *growl*
> 

This happens to me only if I open Netscape *before* the line is
established to my ISP!

But I would call it a bug.

Marc
-- 
Marc Schimmler


Post a reply to this message

From: Roland Mas
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 07:37:33
Message: <m34smkx0ur.fsf@clodomir.rezel.enst.fr>
Mark Gordon <mtg### [at] mailbagcom> writes:

> It seems a lot of people here use Emacs.  How much demand is there for
> an officially distributed Emacs mode for POV-Ray?  Not that I'm making
> any promises...

There already exists one...  It's not complete, though, and it's a bit
out of date.  It provides minimal syntax highlighting, automated
indentation, and completion for a restricted set of keywords.

I guess you should get in touch with the guy, since I have seen no
mention of any update for a looong time now.  Maybe he'll handle it to
you so that you can update and publish :-)

;;
;; $Id: pov-mode.el,v 1.3 1994/04/22 22:51:18 grover Exp $
;;
;; Major mode for editing POV-Ray scene Files
;;
;; Author:      Kevin O. Grover <gro### [at] isriunlvedu>
;; Cre Date:    04 March 1994
;;
;; This file is currently just a severe hack of postscript mode by Chris
;; Maio (last modified 4 Sep 1988) with from rel### [at] prestoigcom (John
;; M. Relph) posted to gnu.emacs.sources on 22 Nov 90 04:53:43 GMT.
;;

-- 
Roland Mas

Magic is one thing, and reflected-sound-of-underground-spirits is another.
  -- Twoflower dans The Colour of Magic (Terry Pratchett)


Post a reply to this message

From: Peter Toneby
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 08:26:18
Message: <371329D9.E6CE436C@acc.umu.se>
Roland Mas wrote:
> 
> Mark Gordon <mtg### [at] mailbagcom> writes:
> 
> > It seems a lot of people here use Emacs.  How much demand is there for
> > an officially distributed Emacs mode for POV-Ray?  Not that I'm making
> > any promises...
> 
> There already exists one...  It's not complete, though, and it's a bit
> out of date.  It provides minimal syntax highlighting, automated
> indentation, and completion for a restricted set of keywords.
> 
> I guess you should get in touch with the guy, since I have seen no
> mention of any update for a looong time now.  Maybe he'll handle it to
> you so that you can update and publish :-)

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.

Ohh, btw. I didn't ask for permission from the either the author or the
other ones that have done updates on it, but I hope noone get angry with
me for such an oversight ;)

/Peter Toneby


Post a reply to this message

From: Roland Mas
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 08:30:19
Message: <m390bwdagk.fsf@clodomir.rezel.enst.fr>
Peter Toneby <woo### [at] accumuse> writes:

> I took the liberty to update and post it yesterday ;)

  Great, I'll fetch it right away.

> Ohh, btw. I didn't ask for permission from the either the author or
> the other ones that have done updates on it, but I hope noone get
> angry with me for such an oversight ;)

  Maybe you should warn them, even a bit late.  Better than nothing,
and that would provide a means to keep in touch.

Roland.
-- 
Roland Mas

Magic is one thing, and reflected-sound-of-underground-spirits is another.
  -- Twoflower dans The Colour of Magic (Terry Pratchett)


Post a reply to this message

From: Nieminen Mika
Subject: How do I use pov-mode.elc? (Was: Emacs POV-Ray mode)
Date: 13 Apr 1999 11:16:34
Message: <371351c2.0@news.povray.org>
I once downloaded the pov-mode.el and compiled it to pov-mode.elc, but
I don't have the slightest idea how to use it. Can anyone tell 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: Peter Toneby
Subject: Re: How do I use pov-mode.elc? (Was: Emacs POV-Ray mode)
Date: 13 Apr 1999 18:16:24
Message: <3713B427.8D49DA48@acc.umu.se>
Nieminen Mika wrote:
> 
>   I once downloaded the pov-mode.el and compiled it to pov-mode.elc, but
> I don't have the slightest idea how to use it. Can anyone tell me?
> 

This is actually very nicely documented in the pov-mode.el file.

-- excerp from my .emacs ---
(autoload 'pov-mode "/home/peter/lib/emacs/pov-mode.el" "PoVray scene
file mode" t)
(setq auto-mode-alist
      (append '(("\\.pov$" . pov-mode)
                ("\\.inc$" . pov-mode))
              auto-mode-alist))
(add-hook 'pov-mode-hook 'turn-on-font-lock)
(setq pov-indent-level '2)
(setq pov-autoindent-endblocks t)   ;;Automatically reindents
else/end/break
(setq pov-indent-under-declare '2)  ;;Try it!  Tell me if you like it...
(setq pov-fontify-insanely t)       ;;When it's non-nil, we fontify
*every*
                                    ;;Povray keyword.  Careful!
--- end of excerp ---

Here is whats done:
the autoload line points emacs to the pov-mode file.
the setq...(append...auto-mode-alist) tells emacs that files ending with
.pov and .inc should use pov-mode.
the add-hook turns on font-lock (syntax highlighting)
The rest of the lines are variables that describes pov-modes behavior.

/Peter Toneby


Post a reply to this message

From: Roland Mas
Subject: Re: Emacs POV-Ray mode
Date: 13 Apr 1999 19:22:33
Message: <m3d818ma8n.fsf@clodomir.rezel.enst.fr>
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


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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