[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14218: 24.3; octave-insert-defun bad indentation since using smie
From: |
Stefan Monnier |
Subject: |
bug#14218: 24.3; octave-insert-defun bad indentation since using smie |
Date: |
Wed, 24 Apr 2013 23:26:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 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