Infinite loop in Maxima emacs mode



Hi.

In a piece of code, with an if statement, followed by a misplaced comma,
and then an else statement, pressing enter after the else seems to make
emacs go in an infinite loop, and the whole emacs session becomes
unresponsive.  An example that will make this happen:

blah(x,y):=(block(
	      [a,b],
	      if x=a then 
		(
		 x:a*x,
		 y:b+3,
		 ),
	      else 

I am using xemacs 21.4 from Debian/testing.

While the code is wrong, I reckon this is still a bug?

Cheers
Neilen
-- 
all we are waiting for is something worth waiting for
		   		   --- KMFDM