help-octave
[Top][All Lists]
Advanced

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

Re: New development for emacs's octave-mode


From: Olaf Till
Subject: Re: New development for emacs's octave-mode
Date: Fri, 3 May 2013 09:22:17 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, May 03, 2013 at 04:50:55AM +0800, Leo Liu wrote:
> On 2013-05-03 00:55 +0800, Olaf Till wrote:
> > But there still seems to be an issue with continuation to the next
> > line; with autofill on, pressing space after
> >
> >   x = 12;                         # aaaa aaaa aaaa aaaa aaaa aaaa aaaa
> >
> > produces
> >
> >   x = 12;                         # aaaa aaaa aaaa aaaa aaaa aaaa aaaa
> >                                 # 
> >
> > for continuation on the next line, which is what I'd expect, but TAB
> > or ALT-q on this second line looses the indentation and puts the
> > comment sign into the first column.
> 
> This might be a bug that have been fixed in emacs trunk. I cannot
> reproduce it here but I am using 
> 
>   
> http://repo.or.cz/w/emacs.git/blob_plain/refs/heads/trunk:/lisp/emacs-lisp/smie.el

With this smie.el it is similar. After TAB in second line of

x = 12; # aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
        # aaaa 

I get

x = 12; # aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
# aaaa 

which is the same indentation as with ## .

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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