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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14218: closed (24.3; octave-insert-defun bad inden


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14218: closed (24.3; octave-insert-defun bad indentation since using smie)
Date: Thu, 25 Apr 2013 03:32:03 +0000

Your message dated Wed, 24 Apr 2013 23:26:05 -0400
with message-id <address@hidden>
and subject line Re: bug#14218: 24.3; octave-insert-defun bad indentation since 
using smie
has caused the debbugs.gnu.org bug report #14218,
regarding 24.3; octave-insert-defun bad indentation since using smie
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14218: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14218
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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



--- End Message ---
--- Begin Message --- Subject: Re: 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




--- End Message ---

reply via email to

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