POV-Ray : Newsgroups : povray.unix : Editor : Re: Editor Server Time
1 Jul 2024 13:07:54 EDT (-0400)
  Re: Editor  
From: Christoph Hormann
Date: 3 Dec 2004 07:35:03
Message: <copma4$ch2$1@chho.imagico.de>
Ross wrote:
> 
> Love emacs for pov editing. Never found out how to do keyword completion for
> any mode though. As for lisp hacking, bleh!
> 
> So, how would one do keyword completion in emacs?

By default i think it is linked to the <ALT>-<TAB> key combination but 
since this is usually caught by the system for other purposes you should 
choose something different - by adding something like:

(define-key pov-mode-map "\M-\r" 'pov-complete-word)

to your ~/.emacs or ~/.xemacs/init.el or whatever init file you use. 
The above line makes the <ALT>-<RETURN> combination do the completition.

Note emacs pov-mode completition is much more powerful than in WinPOV 
since it is context sensitive (it only completes keywords that are 
allowed in the current context).

Christoph

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


Post a reply to this message

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