POV-Ray : Newsgroups : povray.unix : Results from *nix survey : Re: Results from *nix survey Server Time
9 Jun 2026 13:43:25 EDT (-0400)
  Re: Results from *nix survey  
From: Christoph Hormann
Date: 16 Jun 2003 04:56:07
Message: <3EED8627.7A74B703@gmx.de>
fabien Henon wrote:
> 
> [...]
> >
> > - auto-indention (which is much more than WinPOV offers)
> > - ability to edit all kind of text files in one editor (and each file type
> > with its own syntax highlighting, navigation helps etc.)
> > - auto-completition (which is syntax sensitive in emacs)
> > - templates with automatically updated 'last modified' field
> > - integration of tools like 'diff', 'ispell' and regular expression search
> >
> There is auto-indentation in Pyvon along with auto-completion (which can
> be disabled).

As i have pointed out it's not the exisitence of such features per se,
it's how well they work.  Syntax sensitive auto-completition meaning it
only tries to complete keywords which are allowed at the current position
(when you are in a 'union' and type diff<tab> you immediately get
'difference' because 'diffuse' is not allowed there)

auto-indention is much more powerful in emacs than in WinPOV (and i assume
it is not much better in Pyvon than in WinPOV) - you can automatically
indent whole blocks and closing braces and '#end' are positioned correctly
while typing as well.

> In which case do you use 'diff', 'ispell' and RE.search ? (regular
> expressions are intensively used in Pyvon for syntax highlighting)

'ispell' is of course rarely useful in POV-SDL but i use it frequently
when editing HTML and TEX.  'diff' and regular expressions search are
always handy when editing code.

> What is the use of templates ?

File skeletons that are inserted when creating new files.  I use for
example:

// Persistence Of Vision Ray Tracer Scene Description File
// -------------------------------------------------------
// File: @(#)TEMPLATE.pov.tpl
// Desciption: (>>>COMMENT<<<)
// Creation Date: $ (>>>DATE<<<), (>>>TIME<<<) $
// Last modified: $ (>>>DATE<<<), (>>>TIME<<<) $
// Author: (>>>AUTHOR<<<)
//

where all the capitalized stuff gets replaced when creating the file and
the 'Last modified' line gets updated every time you save it.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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