POV-Ray : Newsgroups : povray.unix : Emacs pov-mode problem Server Time
26 Dec 2024 02:41:08 EST (-0500)
  Emacs pov-mode problem (Message 1 to 6 of 6)  
From: Shay
Subject: Emacs pov-mode problem
Date: 7 Sep 2003 10:22:04
Message: <3f5b3f0c@news.povray.org>
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


Post a reply to this message

From: Shay
Subject: Re: Emacs pov-mode problem
Date: 9 Sep 2003 09:19:17
Message: <3f5dd355$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3f5b8678@news.povray.org...
|
|   I don't know if it's of any relevance to your problem,
| but my .emacs has a bit different lines:

Thanks, Warp. Unfortunately, this did not make a difference. I also
tried backing up one of the other .el files, copying the pov-mode.el
body into that file, and then attempting to load it. That didn't work
either.

I am guessing that, since other modes work, and I can find no mention of
this problem here or on Google, this is a bug or incompatibility
specific to this particular version of Emacs. Tonight, I am going to
experiment with commenting out portions of the pov-mode.el file to see
if I can isolate the problem.

 -Shay


Post a reply to this message

From: Peter Toneby
Subject: Re: Emacs pov-mode problem
Date: 29 Sep 2003 08:46:03
Message: <pan.2003.09.29.12.46.02.596421@toneby.com>
Den Sun, 07 Sep 2003 09:21:04 -0500 skrev Shay:

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

Hi

I'm using emacs 21.3.1 and does not have this problem. if you enable
"Enter debugger on error" (it should be in the options menu), and then
paste the result here. But first, you should download the latest version
of povmode (I made a mistake while packaging it, and forgot the files
that belong to the insertmenu).

/Peter


Post a reply to this message

From: WF
Subject: Re: Emacs pov-mode problem
Date: 13 Oct 2003 06:52:26
Message: <3f8a83ea@news.povray.org>
Peter Toneby wrote:
> Den Sun, 07 Sep 2003 09:21:04 -0500 skrev Shay:
> 
> 
>>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. 
> 
> 
> Hi
> 
> I'm using emacs 21.3.1 and does not have this problem. if you enable
> "Enter debugger on error" (it should be in the options menu), and then
> paste the result here. But first, you should download the latest version
> of povmode (I made a mistake while packaging it, and forgot the files
> that belong to the insertmenu).
> 
> /Peter
> 

I have installed the latest pov-mode.el (Aug 29 2003), and I have the 
following message in *Messages* buffer.

File mode specification error: (void-function pov-im-make-menu)

The file mode stays as fundamental-mode.  I am using Emacs 20.7.

Thanks.


Post a reply to this message

From: k
Subject: Re: Emacs pov-mode problem
Date: 9 May 2004 11:55:01
Message: <web.409e5431eb45dddde62b9aba0@news.povray.org>
could not find the answer to this problem.  anyone?
emacs 21.2.1 redhat 9
k.

Shay <sah### [at] simcopartscom> 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


Post a reply to this message

From: stephen parkinson
Subject: Re: Emacs pov-mode problem
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.