bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Leo Liu
Subject: bug#14218: 24.3; octave-insert-defun bad indentation since using smie
Date: Wed, 17 Apr 2013 09:55:39 +0800

C-c C-f in octave-mode of emacs 22.1 normally inserts something like
this:

function B = hasWon (X, z, z0)

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

endfunction


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.

Leo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]