comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLWAVE fontlock / fontify weirdness in Xemacs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDLWAVE fontlock / fontify weirdness in Xemacs [message #22321] Tue, 31 October 2000 15:43 Go to next message
jrigler is currently offline  jrigler
Messages: 2
Registered: November 2000
Junior Member
I have Xemacs 21.1.12 (default with RH Linux 7.0 Respin), and updated
all of my packages to the most recent versions as of 10/31/00 (which
means IDLWAVE 1.22...or a modified version 4.5 I assume).

The problem I'm experiencing is in the fontification. For whatever
reason, all of a suddent every time I start a new line, or even modify
an old line for that matter, it all turns green (the color for
strings). this only really happens after a certain block in the code.
The possibly offending code (which works, and I see no syntax problems
with it) follows. Any ideas?


; Convert MJD to a YYYYMMDD (see - http://bowie.gsfc.nasa.gov/time/)
caldat,date_beg+2400000.5,month_beg,day_beg,year_beg
caldat,date_end+2400000.5,month_end,day_end,year_end

month_beg=string(month_beg,format='(i2.2)')
day_beg=string(day_beg,format='(i2.2)')
year_beg=string(year_beg,format='(i4.4)')


To clarify a little more, what happens is that I can type anything
before the line with the first "format" statement, and it works
perfectly. If I add, or modify anything after the "format" statement,
the whole line becomes green, as if IDLWAVE thought it were a string.

I really don't like the IDLDE, so I sure hope there is a solution to
this.

Thanks,

Josh


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: IDLWAVE fontlock / fontify weirdness in Xemacs [message #22371 is a reply to message #22321] Sat, 04 November 2000 00:00 Go to previous messageGo to next message
dominik is currently offline  dominik
Messages: 47
Registered: June 2000
Member
>>>> > "j" == jrigler <jrigler@Colorado.EDU> writes:

j> I have Xemacs 21.1.12 (default with RH Linux 7.0 Respin), and
j> updated all of my packages to the most recent versions as of
j> 10/31/00 (which means IDLWAVE 1.22...or a modified version 4.5 I
j> assume).

j> The problem I'm experiencing is in the fontification. For whatever
j> reason, all of a suddent every time I start a new line, or even
j> modify an old line for that matter, it all turns green (the color
j> for strings). this only really happens after a certain block in
j> the code. The possibly offending code (which works, and I see no
j> syntax problems with it) follows. Any ideas?

Josh,

while I have sees such problems in the past (not in idl, but in other
languages),

I cannot reproduce this problem with the code snippet you posted. I
guess the problem is located higher up in your program.
Would you please try to make a separate file with the smallest code
that reproduces this problem and mail it to me? I'll try to figure
out what happens.

- Carsten

--
Carsten Dominik <dominik@astro.uva.nl> \ _ /
Sterrenkundig Instituut "Anton Pannekoek" |X| _
Kruislaan 403; NL-1098 SJ Amsterdam /| |\ _ _ _/ \
phone +31 (20) 525-7477; FAX +31 (20) 525-7484 __|o|___/ ~~ \___/ ~~~
Re: IDLWAVE fontlock / fontify weirdness in Xemacs [message #22411 is a reply to message #22321] Thu, 09 November 2000 00:00 Go to previous message
riglerej is currently offline  riglerej
Messages: 5
Registered: November 2000
Junior Member
In article <qzupukccbcb.fsf@antares.astro.uva.nl>,
Carsten Dominik <dominik@astro.uva.nl> wrote:
>>>> >> "j" == jrigler <jrigler@Colorado.EDU> writes:
>
> j> I have Xemacs 21.1.12 (default with RH Linux 7.0 Respin), and
> j> updated all of my packages to the most recent versions as of
> j> 10/31/00 (which means IDLWAVE 1.22...or a modified version 4.5 I
> j> assume).
>
> j> The problem I'm experiencing is in the fontification. For whatever
> j> reason, all of a suddent every time I start a new line, or even
> j> modify an old line for that matter, it all turns green (the color
> j> for strings). this only really happens after a certain block in
> j> the code. The possibly offending code (which works, and I see no
> j> syntax problems with it) follows. Any ideas?
>
> Josh,
>
> while I have sees such problems in the past (not in idl, but in other
> languages),
>
> I cannot reproduce this problem with the code snippet you posted. I
> guess the problem is located higher up in your program.
> Would you please try to make a separate file with the smallest code
> that reproduces this problem and mail it to me? I'll try to figure
> out what happens.
>
> - Carsten


Well, after all this, I've discovered that I can no longer recreate this
problem. I haven't modified my code since I first posted this message,
so that's not the problem. As near as I can tell, the only significant
thing that may have changed is that I restarted my X-windows (not just
my login, but the whole server) since the last time I messed with the
offending file.

I will probably contact you directly (Carsten) if I find it recurring.
I'll also try to put together a much nicer bug report, detailing
everything I've done that might be causing the problem.

Thanks for an otherwise wonderful tool!

-Josh


Sent via Deja.com http://www.deja.com/
Before you buy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Dialog_pickfile
Next Topic: Connected component analysis

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:52:08 PDT 2025

Total time taken to generate the page: 0.00456 seconds