IDLWAVE fontlock / fontify weirdness in Xemacs [message #22321] |
Tue, 31 October 2000 15:43  |
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 #22411 is a reply to message #22321] |
Thu, 09 November 2000 00:00  |
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.
|
|
|