POV-Ray : Newsgroups : povray.unix : Syntax highlight : Re: Syntax highlight Server Time
28 Jul 2024 16:23:53 EDT (-0400)
  Re: Syntax highlight  
From: Steve
Date: 2 Aug 2000 08:17:20
Message: <slrn8og0el.2fn.steve@zero-pps.localdomain>

>I am fairly new to linux. I am still on the dark side of the force ( for
>many reasons).
>Some time ago, A guy 'Jerome' if my memory serves me right, posted a
>trip for highlighting keyword for POV with Emacs.
>As I don't like the interface of Emacs, I forgot it.
>I have been using a software Code commander for editing simple
>configuration files. It supports many languages and highlight their
>keywords. Is it possible to include POV syntax in the software, and if
>so, how?

Warps suggestion works over here,  there's some other stuff that
you might want to put in your .emacs file (it should go in yout
home directory, there probably isn't one so you'll have to create
it).


Get the syntax highlighting macro for pov here, read the instructions
on the web page. 
http://www.acc.umu.se/~woormie/povray/

;; Semicolon is a comment in Lisp.
;; Gives you the SHIFT+ARROW editing (a la windows).
(pc-selection-mode)

;; Makes it scroll one line at a time instead of half a screen.
(setq scroll-step 1)

;; Stops it from adding new lines when you'r scrolling.
(setq next-line-add-newlines nil)

;; Turns that bloody awful noise off. 
(setq visible-bell t)

;; Puts the column number in the status line (aswell as row number)
(setq column-number-mode t) 

;; Puts the file name in the window title bar, useful for when editing
;; multiple files. 
(setq frame-title-format "%b")


And for doing the rendering you might want to try my Rxvt menu
system (on my website), read the instructions in the .txt file
befre using. 

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

 11:54am  up 18 days, 10:20,  2 users,  load average: 1.02, 1.18, 1.12


Post a reply to this message

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