POV-Ray : Newsgroups : povray.general : emacs, pov-mode, error loading pov-mode : emacs, pov-mode, error loading pov-mode Server Time
31 Jul 2024 12:23:46 EDT (-0400)
  emacs, pov-mode, error loading pov-mode  
From: skk
Date: 7 Mar 2007 03:00:00
Message: <web.45ee7095f9a79f42a8a40fdc0@news.povray.org>
Dear all,

I have a little problem using pov-mode with emacs:
I placed pov-mode.el in the directory /home/skassboh/emacs/site-lisp/.
I added the chunk
----------
;; Povray mode;; Where did you install the POV-mode? Change the path to
whatever
;; it's supposed to be
(setq load-path (cons "/home/skassboh/emacs/site-lisp/" load-path))
;; Set autoloading of POV-mode for these file-types.
(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))
----------
in my .emacs file.

Then the pov-mode should work, whenever I open a buffer ending with .pov
after .emacs is loaded.

Instead I get the following error message from emacs:

Loading /home/skassboh/.emacs...done
(New file)
Loading pov-mode.el (source)...
("/home/skassboh/emacs/site-lisp/" . "/usr/share/emacs/21.3/etc/")
File mode specification error: (wrong-type-argument listp
"/usr/share/emacs/21.3/etc/")


Anybody out there who can help?
Thanks,
S.K.


Post a reply to this message

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