Subject: Re: bug#14218: 24.3; octave-insert-defun bad indentation since using smie

From: Stefan Monnier <[email-masked]>
Date: Wed, 24 Apr 2013 23:26:05 -0400

> Now it inserts:

> function B = hasWon (X, z, z0)
	 
> 	 ## usage: B = hasWon (X, z, z0)
> 	 ## 
> 	 ## 
	 
> endfunction

> i.e. it has wrong initial indentation. This might be a flaw of smie.

Indeed.  There were several bugs triggered here.
I installed the patch below which fixes this problem.

        Stefan