unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14218: 24.3; octave-insert-defun bad indentation since using smie
@ 2013-04-17  1:55 Leo Liu
  2013-04-25  3:26 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Liu @ 2013-04-17  1:55 UTC (permalink / raw)
  To: 14218

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-07  4:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17  1:55 bug#14218: 24.3; octave-insert-defun bad indentation since using smie Leo Liu
2013-04-25  3:26 ` Stefan Monnier
2013-04-25  5:36   ` Leo Liu
2013-04-26 14:34     ` Stefan Monnier
2013-04-26 19:17       ` Leo Liu
2013-05-07  4:06         ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).