POV-Ray : Newsgroups : povray.unix : Emacs mode updated for 3.5 Server Time
28 Jul 2024 16:25:28 EDT (-0400)
  Emacs mode updated for 3.5 (Message 21 to 28 of 28)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Peter Toneby
Subject: Re: Emacs mode updated for 3.5
Date: 3 Aug 2002 13:10:04
Message: <3d4c0e6c$2@news.povray.org>
In <3d3a204e@news.povray.org>, Wanderer On The Road wrote:

> On Thursday 18 July 2002 03:54 am I was walking through povray.unix and over 
> heard Christoph Hormann saying:
>>> Yeah, I don't care so much that different keywords being hilighted
>>> differently but I would like the keywords hilighted rather than just
>>> #something_here and numbers ^_~
>>> 
>> 
>> Then you are obviously doing something wrong.
> 
> Ok, well it looks like the keyword union is hilighted and all but no 
> primitaves are, nor are the other keywords like conic_sweep, color, etc. 
> from what I can tell. If it helps I'm running GNU Emacs 21.2.1 
> (i686-pc-linux-gnu, Motif Version 2.1.30) of 2002-06-26 on ursamajor. I 
> compiled emacs from source on the date mentioned and my hostname is 
> ursamajor.

Hi
Sorry for my absense, I haven't been reading the newsgroups for quite some
time :)

How would you guys want the highlighting of keywords, it was a little
excessive in the last version, but I think it's to sparse in the current,
I'm thinking about highlighting objects (CSG-keywords and
Object-keywords), is there anything else that should be highlighted?

I've fixed some minor errors in the mode, and I have some more in store,
along with cleanups from merging C.H.s patch.

And should I add C.H.s Insert-menu?
It's you guys who will have to decide that :)

Oh, and Bryan (if you read this), if you think I have forgot about you, I
haven't, I'm going to look into your problem.

/Peter


Post a reply to this message

From: Steve
Subject: Re: Emacs mode updated for 3.5
Date: 3 Aug 2002 18:50:21
Message: <slrnakoi8d.mih.steve@zeropps.org.uk>
On Sat, 03 Aug 2002 19:09:37 +0200, Peter Toneby wrote:
 
> And should I add C.H.s Insert-menu?
> It's you guys who will have to decide that :)

Yes please. 

-- 
sphere{z*5,1pigment{rgb.5}finish{reflection.3specular.5}}box{<-50,-3,-50>
<50,-2,50>pigment{checker/*\__\\__/  * \_\\__*/scale 2}finish{ambient.7}}
light_source/*__\\__\\__\\__\\__\(    ~ )\__\\__\\__\\__\\*/{<2,5,1>*4,1} 
/*\\__\\__\\__\\__\\__\\__\\__\\__\~  -/__\\__\\__\\__\\__\\*//* Steve */


Post a reply to this message

From: Peter Toneby
Subject: Re: Emacs mode updated for 3.5
Date: 6 Aug 2002 21:31:48
Message: <3d507884@news.povray.org>
In <slr### [at] zeroppsorguk>, Steve wrote:

> On Sat, 03 Aug 2002 19:09:37 +0200, Peter Toneby wrote:
>  
>> And should I add C.H.s Insert-menu?
>> It's you guys who will have to decide that :)
> 
> Yes please.

Ok, done, well, at least almost done.

I rewrote CHs code, I think I reused about 4 or 5 lines :).
Now it uses the Insert-menu directory from the windows version.
It seems to work fairly well, I've noted one thing missing, I'll add that
tomorrow, I'll also try to add a rescan function so one can add entries
without restarting emacs.
I'll fix those minor things tomorrow, and then clean up pov-mode.el a bit,
releasing a new version either late tomorrow or on friday.

I have one question about this though, can I distribute the Insert-menu
files (the ones I copied from windows)? It would simplify things very much
for the users.

/Peter Toneby


Post a reply to this message

From: Christoph Hormann
Subject: Re: Emacs mode updated for 3.5
Date: 7 Aug 2002 02:39:01
Message: <3D50C083.FCED7DF1@gmx.de>
Peter Toneby wrote:
> 
> [...]
> 
> I rewrote CHs code, I think I reused about 4 or 5 lines :).
> Now it uses the Insert-menu directory from the windows version.

That sounds great, i also wanted to do it that way, but lacked the ability
to program it in emacs lisp.

> It seems to work fairly well, I've noted one thing missing, I'll add that
> tomorrow, I'll also try to add a rescan function so one can add entries
> without restarting emacs.
> I'll fix those minor things tomorrow, and then clean up pov-mode.el a bit,
> releasing a new version either late tomorrow or on friday.

Having the images too would be great of course, but i guess this would not
be that easy.

> I have one question about this though, can I distribute the Insert-menu
> files (the ones I copied from windows)? It would simplify things very much
> for the users.

I think i already wrote you some time that you can add those files, i
asked and the POV-Team has no objections.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 03 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Peter Toneby
Subject: Re: Emacs mode updated for 3.5
Date: 7 Aug 2002 06:29:06
Message: <3d50f672@news.povray.org>
In <3D50C083.FCED7DF1@gmx.de>, Christoph Hormann wrote:

> 
> 
> Peter Toneby wrote:
>> 
>> [...]
>> 
>> I rewrote CHs code, I think I reused about 4 or 5 lines :).
>> Now it uses the Insert-menu directory from the windows version.
> That sounds great, i also wanted to do it that way, but lacked the ability
> to program it in emacs lisp.

It wasn't that hard actually, I'm not very good at lisp either but it
worked out ok.

>> It seems to work fairly well, I've noted one thing missing, I'll add that
>> tomorrow, I'll also try to add a rescan function so one can add entries
>> without restarting emacs.
>> I'll fix those minor things tomorrow, and then clean up pov-mode.el a bit,
>> releasing a new version either late tomorrow or on friday.
> Having the images too would be great of course, but i guess this would not
> be that easy.

I will not add them now, maybe later.

>> I have one question about this though, can I distribute the Insert-menu
>> files (the ones I copied from windows)? It would simplify things very much
>> for the users.
> I think i already wrote you some time that you can add those files, i
> asked and the POV-Team has no objections.

Yes you did, I just wanted to see if someone else would answer, better
safe than sorry :)

/Peter


Post a reply to this message

From: Steve
Subject: Re: Emacs mode updated for 3.5
Date: 7 Aug 2002 16:47:11
Message: <slrnal31o9.55n.steve@zeropps.org.uk>
On Wed, 07 Aug 2002 08:38:59 +0200, Christoph Hormann wrote:
> 
> 
> Peter Toneby wrote:
>> 
>> [...]
>> 
>> I rewrote CHs code, I think I reused about 4 or 5 lines :).
>> Now it uses the Insert-menu directory from the windows version.
> 
> That sounds great, i also wanted to do it that way, but lacked the ability
> to program it in emacs lisp.

Funny that this is mentioned, a coupel of years ago I started a project 
to write a perl script that would generate the appropriate lisp based on
the windows directory version of the insert menu.  Glad to see that someon's
finally finished a version of that idea in one way or another:-)

-- 
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

From: Christoph Hormann
Subject: Re: Emacs mode updated for 3.5
Date: 7 Aug 2002 17:04:12
Message: <3D518B49.24249911@gmx.de>
Steve wrote:
> 
> > That sounds great, i also wanted to do it that way, but lacked the ability
> > to program it in emacs lisp.
> 
> Funny that this is mentioned, a coupel of years ago I started a project
> to write a perl script that would generate the appropriate lisp based on
> the windows directory version of the insert menu.  Glad to see that someon's
> finally finished a version of that idea in one way or another:-)

Well, actually my emacs version of the insert menu was also generated from
the directory tree (using the same c program as for the html version).

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 03 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Steve
Subject: Re: Emacs mode updated for 3.5
Date: 7 Aug 2002 20:25:32
Message: <slrnal3adm.5td.steve@zeropps.org.uk>
On Wed, 07 Aug 2002 23:04:09 +0200, Christoph Hormann wrote:
> 
> 
> Steve wrote:
>> 
>> > That sounds great, i also wanted to do it that way, but lacked the ability
>> > to program it in emacs lisp.
>> 
>> Funny that this is mentioned, a coupel of years ago I started a project
>> to write a perl script that would generate the appropriate lisp based on
>> the windows directory version of the insert menu.  Glad to see that someon's
>> finally finished a version of that idea in one way or another:-)
> 
> Well, actually my emacs version of the insert menu was also generated from
> the directory tree (using the same c program as for the html version).

I wasn't aware of that (hadn't read how it was done), I had just assumed 
that you'd hand coded the lisp.  And I was using your own version in emacs
but it'd be nice to have all of the POV stuff in one .el file. 

-- 
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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