POV-Ray : Newsgroups : povray.unix : installing XEmacs' pov-mode on a DebianSystem??? Server Time
28 Jul 2024 12:30:37 EDT (-0400)
  installing XEmacs' pov-mode on a DebianSystem??? (Message 1 to 5 of 5)  
From: Kenny Doberenz
Subject: installing XEmacs' pov-mode on a DebianSystem???
Date: 13 Dec 2000 10:29:21
Message: <3a3795d1$1@news.povray.org>
!  ..oo00LLaH

i use Debian Linux2.2 (potato) and i would like to use XEmacs for editing my
pov-files. so i downloaded the lisp-file that was mentioned on this ng from
http://www.acc.umu.se/~woormie/povray.
i followed the installation instructions but XEmacs does not notice any
change. is there something special about Debian or what did i wrong? i read
something about a *new* package-system in /usr/doc/XEmacs but i understood
nothing at all (i don't know nothing about internals of Emacs and lisp). so
here's what i did:
i found a file, named pov-mode2.el, copied it at first into
/usr/local/lib/xemacs/site-lisp (which is definitely in my load-path) ->
nothing happens (M-x pov[TAB] found nothing, in my customization-menu is
nothing about the new language). i byte-compiled it with M-x
byte-compile-file (sucessfull!) but Emacs (even after restarting) still
doesn't recognize this.
i copied the pove-mode2.elc in some other directorys in my load-path, but
guess..!

Emacs' docu tells a lot about installing new *packages* (with auto-load, i
didn't understood it..), but nothing about how to install a single *.elc.
anybody out there, who can help an Emacs-dummy? Thx!
_
* Kenny


Post a reply to this message

From: Steve
Subject: Re: installing XEmacs' pov-mode on a DebianSystem???
Date: 13 Dec 2000 12:27:53
Message: <slrn93fcb7.lhc.steve@zero-pps.localdomain>
On Wed, 13 Dec 2000 16:22:25 +0100, Kenny Doberenz wrote:
>!  ..oo00LLaH

I have this in the .emacs file in my home directory, you can change
the relevant bits like the name of the package and the location of 
the package to match your own instalation.

What happens if you open a .pov file?

$ emacs myfile.pov &

You should see the syntax highlighting etc. 

You've got a later version of pov-mode.el than myself, I hope it's
easier to turn off all the indentation than in the version I'm 
using.  Maybe I'll go and have a look. 

The stuff that's in my .emacs file:

(setq load-path (cons "/usr/share/emacs/20.5/lisp/pov-mode.elc" load-path))
(autoload 'pov-mode "pov-mode.elc" "PoVray scene file mode" t)

(setq auto-mode-alist
        (append '(("\\.pov$" . pov-mode) 
                  ("\\.inc$" . pov-mode)
                 ) auto-mode-alist))

(custom-set-faces
 '(region ((((class color) (background dark)) (:foreground
"MidnightBlue" :background "light goldenrod")))))

(add-hook 'pov-mode-hook 'turn-on-font-lock)


-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  5:17pm  up 63 days, 19:43,  3 users,  load average: 1.06, 1.02, 1.00


Post a reply to this message

From: Kenny Doberenz
Subject: Re: installing XEmacs' pov-mode on a DebianSystem???
Date: 13 Dec 2000 13:05:32
Message: <3a37ba6c@news.povray.org>
*flutsch*

thanx, i already did, it works fine!
_
* Kenny

ps: i (<--idiot) now saw, that on the specified webpage, *this* (or
something like that) is explained! i just downloaded the file and assumed i
had nothing to do but the stuff described in the header of the *.el-file,
but now i know better!

"Steve" <ste### [at] zeroppsuklinuxnet> schrieb im Newsbeitrag
news:slr### [at] zero-ppslocaldomain...
> On Wed, 13 Dec 2000 16:22:25 +0100, Kenny Doberenz wrote:
> >!  ..oo00LLaH
>
> I have this in the .emacs file in my home directory, you can change
> the relevant bits like the name of the package and the location of
> the package to match your own instalation.
>
> What happens if you open a .pov file?
>
> $ emacs myfile.pov &
>
> You should see the syntax highlighting etc.
>
> You've got a later version of pov-mode.el than myself, I hope it's
> easier to turn off all the indentation than in the version I'm
> using.  Maybe I'll go and have a look.
>
> The stuff that's in my .emacs file:
>
> (setq load-path (cons "/usr/share/emacs/20.5/lisp/pov-mode.elc"
load-path))
> (autoload 'pov-mode "pov-mode.elc" "PoVray scene file mode" t)
>
> (setq auto-mode-alist
>         (append '(("\\.pov$" . pov-mode)
>                   ("\\.inc$" . pov-mode)
>                  ) auto-mode-alist))
>
> (custom-set-faces
>  '(region ((((class color) (background dark)) (:foreground
> "MidnightBlue" :background "light goldenrod")))))
>
> (add-hook 'pov-mode-hook 'turn-on-font-lock)
>
>
> --
> Cheers
> Steve              email mailto:ste### [at] zeroppsuklinuxnet
>
> %HAV-A-NICEDAY Error not enough coffee  0 pps.
>
> web http://www.zeropps.uklinux.net/
>
> or  http://start.at/zero-pps
>
>   5:17pm  up 63 days, 19:43,  3 users,  load average: 1.06, 1.02, 1.00


Post a reply to this message

From: Steve
Subject: Re: installing XEmacs' pov-mode on a DebianSystem???
Date: 13 Dec 2000 16:55:16
Message: <slrn93frcb.m1q.steve@zero-pps.localdomain>
On Wed, 13 Dec 2000 19:01:01 +0100, Kenny Doberenz wrote:
>  *flutsch*
>
>thanx, i already did, it works fine!
>_
>* Kenny

And you'll no doubt want to try my rxvt menu system that facilitates
the rendering side of the job, on my web page in the linux stuff
section, there's a screen shot there too that you can have a look at.

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  9:40pm  up 64 days, 5 min,  3 users,  load average: 1.14, 1.05, 1.01


Post a reply to this message

From: Peter Toneby
Subject: Re: installing XEmacs' pov-mode on a DebianSystem???
Date: 16 Dec 2000 15:37:39
Message: <3A3BD293.1AA3CE29@acc.umu.se>
Kenny Doberenz wrote:
> ps: i (<--idiot) now saw, that on the specified webpage, *this* (or
> something like that) is explained! i just downloaded the file and assumed i
> had nothing to do but the stuff described in the header of the *.el-file,
> but now i know better!

It _should_ be enough with the (require 'pov-mode) in your .emacs, if
it's not
I'll have to take a look at that, and hopefully fix it.

/Peter Toneby
-- 
Alpha Test Version:  Too buggy to be released to the paying public. 
Beta Test Version:  Still too buggy to be released. 
Release Version:  Alternate pronunciation of "Beta Test Version".


Post a reply to this message

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