POV-Ray : Newsgroups : povray.unix : Emacs pov-mode problem : Re: Emacs pov-mode problem Server Time
6 Jul 2024 04:40:34 EDT (-0400)
  Re: Emacs pov-mode problem  
From: stephen parkinson
Date: 9 May 2004 12:50:23
Message: <409e614f@news.povray.org>
Shay wrote:
> I want to experiment with the pov-mode in Emacs, but am getting an error. I
> untarred the three files into /usr/share/emacs/21.2/list/textmodes. I did
> not have an .emacs file in my home directory, so I created one whih now
> contains only:
> 
> (autoload 'pov-mode "pov-mode.el" "PoVray scene file mode" t)
> (setq auto-mode-alist
>         (append '(("\\.pov$" . pov-mode) 
>                   ("\\.inc$" . pov-mode)
>                  ) auto-mode-alist))    
> (require 'pov-mode) 
> 
> When I attempt to start Emacs, or when I remove the last line, start Emacs,
> and then try to M-x to pov-mode, I get the following error:
> 
> Wrong type argument: listp, "/usr/share/emacs/21.2/etc/"
> 
> I know that the pov-mode files are in the load path. Emacs does bagin to
> load pov-mode before displaying the error. I can switch to perl-mode,
> cc-mode, etc. without a problem. 
> 
> Any help appreciated. 
>  -Shay

i use xemacs and have put the pov-mode files under 
/home/stephen/.xemacs/modes

i've attached the files i use, had to modify to path of 
/home/stephen/.xemacs etc in /home/stephen/.xemacs/custom.el

i'm currently playing with povmode.el and it is now NON standard,
i'm trying to add a local include path /home/stephen/includes

currently the Render button finds the filename of the buffer, and works
High render goes looking for OBJECT.POV, only tried High though

any ideas appreciated

stephen


Post a reply to this message


Attachments:
Download 'us-ascii' (79 KB) Download 'us-ascii' (4 KB)

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